mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
dac48f2a40
This commit adds symbols from the ringbuf.c file which can be placed in Flash in order to free up IRAM space.
26 lines
976 B
Plaintext
26 lines
976 B
Plaintext
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"
|
|
depends on RINGBUF_PLACE_FUNCTIONS_INTO_FLASH
|
|
default n
|
|
help
|
|
Place ISR ringbuf functions (like xRingbufferSendFromISR/xRingbufferReceiveFromISR) into flash.
|
|
This frees up IRAM, but the functions can no longer be called when the cache is disabled
|
|
or from an IRAM interrupt context.
|
|
|
|
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.
|
|
|
|
|
|
endmenu
|