esp32: Workaround IDF issue placing ISR ringbuf functions in IRAM.
This workaround makes sure that all ringbuf functions that may be called from an ISR are placed in IRAM. See https://github.com/espressif/esp-idf/issues/13378 Note that this means that all esp32-og builds get non-ISR ringbuf functions placed in flash now, whereas previously it was just the spiram variant. This might be a good thing (e.g. free up some IRAM for native/viper). Fixes issue #14005. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
71044a4186
commit
acbdbcd95e
@@ -151,6 +151,8 @@ idf_component_register(
|
||||
${MICROPY_PORT_DIR}
|
||||
${MICROPY_BOARD_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
LDFRAGMENTS
|
||||
linker.lf
|
||||
REQUIRES
|
||||
${IDF_COMPONENTS}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user