mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
5150c578fd
The caches are disabled when reading/writing/erasing flash. All CPUs should always execute code and access data from internal RAM. Add an IRAM option to enhance the performance of LEDC. Closes https://github.com/espressif/esp-idf/issues/11554
10 lines
426 B
Plaintext
10 lines
426 B
Plaintext
CONFIG_COMPILER_DUMP_RTL_FILES=y
|
|
CONFIG_COMPILER_OPTIMIZATION_NONE=y
|
|
# place non-ISR FreeRTOS functions in Flash
|
|
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
|
|
# silent the error check, as the error string are stored in rodata, causing RTL check failure
|
|
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
|
|
# ledc driver uses assert in the ISR code path
|
|
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
|
|
CONFIG_LEDC_CTRL_FUNC_IN_IRAM=y
|