Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. menu "IPC (Inter-Processor Call)"
  2. config ESP_IPC_TASK_STACK_SIZE
  3. int "Inter-Processor Call (IPC) task stack size"
  4. range 512 65536 if !APPTRACE_ENABLE
  5. range 2048 65536 if APPTRACE_ENABLE
  6. default 2048 if APPTRACE_ENABLE
  7. default 1024
  8. help
  9. Configure the IPC tasks stack size. One IPC task runs on each core
  10. (in dual core mode), and allows for cross-core function calls.
  11. See IPC documentation for more details.
  12. The default stack size should be enough for most common use cases.
  13. It can be shrunk if you are sure that you do not use any custom
  14. IPC functionality.
  15. config ESP_IPC_USES_CALLERS_PRIORITY
  16. bool "IPC runs at caller's priority"
  17. default y
  18. depends on !FREERTOS_UNICORE
  19. help
  20. If this option is not enabled then the IPC task will keep behavior
  21. same as prior to that of ESP-IDF v4.0, and hence IPC task will run
  22. at (configMAX_PRIORITIES - 1) priority.
  23. config ESP_IPC_ISR_ENABLE
  24. bool
  25. default y if !FREERTOS_UNICORE
  26. help
  27. This feature servers a similar purpose to the IPC except that the callback function is run
  28. in the context of a level 4 interrupt (i.e., high priority/level interrupt). The IPC ISR
  29. feature is intended for low latency execution of simple functions written in assembly on
  30. another CPU. Due to being run in higher level interrupt context, the assembly functions
  31. should be written in a particular way (see esp_test_ipc_isr_asm() and the "High-Level Interrupts"
  32. chapter in hlinterrupts.rst for more details).
  33. endmenu # "IPC (Inter-Processor Call)