2022-06-30 07:43:45 +00:00
|
|
|
menu "ESP Ringbuf"
|
|
|
|
|
|
|
|
|
|
|
|
config RINGBUF_PLACE_FUNCTIONS_INTO_FLASH
|
|
|
|
bool "Place non-ISR ringbuf functions into flash"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Place non-ISR ringbuf functions (like xRingbufferCreate/xRingbufferSend) into flash.
|
|
|
|
This frees up IRAM, but the functions can no longer be called when the cache is disabled.
|
|
|
|
|
|
|
|
|
|
|
|
config RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
|
|
|
|
bool "Place ISR ringbuf functions into flash"
|
2023-04-01 11:18:57 +00:00
|
|
|
depends on RINGBUF_PLACE_FUNCTIONS_INTO_FLASH
|
2022-06-30 07:43:45 +00:00
|
|
|
default n
|
|
|
|
help
|
2023-04-01 11:18:57 +00:00
|
|
|
Place ISR ringbuf functions (like xRingbufferSendFromISR/xRingbufferReceiveFromISR) into flash.
|
2022-06-30 07:43:45 +00:00
|
|
|
This frees up IRAM, but the functions can no longer be called when the cache is disabled
|
|
|
|
or from an IRAM interrupt context.
|
|
|
|
|
2023-04-01 11:18:57 +00:00
|
|
|
This option is not compatible with ESP-IDF drivers which are configured to
|
|
|
|
run the ISR from an IRAM context, e.g. CONFIG_UART_ISR_IN_IRAM.
|
2022-06-30 07:43:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
endmenu
|