esp_common: IPC refactor

- esp_ipc_call_and_wait() can work simultaneously on two CPUs.
- This will increase the priority for ipc_task
  if the current task also wants to use it.
- Added the ESP_IPC_USES_CALLERS_PRIORITY option
  to get back the old IPC behaviour.
This commit is contained in:
KonstantinKondrashov
2019-09-25 02:13:18 +08:00
parent b125bb50ea
commit 6071e2f3c7
2 changed files with 42 additions and 22 deletions
+9
View File
@@ -53,6 +53,15 @@ menu "Common ESP-related"
It can be shrunk if you are sure that you do not use any custom
IPC functionality.
config ESP_IPC_USES_CALLERS_PRIORITY
bool "IPC runs at caller's priority"
default y
depends on !FREERTOS_UNICORE
help
If this option is not enabled then the IPC task will keep behavior
same as prior to that of ESP-IDF v4.0, and hence IPC task will run
at (configMAX_PRIORITIES - 1) priority.
config ESP_TIMER_TASK_STACK_SIZE
int "High-resolution timer task stack size"
default 3584