2019-01-28 12:36:47 +11:00
|
|
|
# MicroPython on ESP32, ESP IDF configuration with SPIRAM support
|
|
|
|
|
2023-05-09 09:52:54 +10:00
|
|
|
CONFIG_SPIRAM=y
|
2019-09-13 23:04:13 +10:00
|
|
|
CONFIG_SPIRAM_CACHE_WORKAROUND=y
|
2019-01-29 22:22:47 +11:00
|
|
|
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
|
2023-05-09 09:52:54 +10:00
|
|
|
CONFIG_SPIRAM_USE_CAPS_ALLOC=y
|
|
|
|
|
|
|
|
# SPIRAM increases the size of the firmware and overflows iram0_0_seg, due
|
|
|
|
# to PSRAM bug workarounds. Apply some options to reduce the firmware size.
|
|
|
|
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
|
|
|
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
|