2021-05-06 01:58:12 +01:00
|
|
|
# MicroPython on ESP32-S2 and ESP32-PAD1_subscript_3, ESP IDF configuration with SPIRAM support
|
2021-11-12 00:23:49 +00:00
|
|
|
CONFIG_SPIRAM_MODE_QUAD=y
|
2021-05-06 01:58:12 +01:00
|
|
|
CONFIG_SPIRAM_TYPE_AUTO=y
|
2023-06-24 09:19:58 +01:00
|
|
|
CONFIG_SPIRAM_CLK_IO=30
|
|
|
|
CONFIG_SPIRAM_CS_IO=26
|
2021-05-06 01:58:12 +01:00
|
|
|
CONFIG_SPIRAM_SPEED_80M=y
|
|
|
|
CONFIG_SPIRAM=y
|
|
|
|
CONFIG_SPIRAM_BOOT_INIT=y
|
|
|
|
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
|
2023-07-28 03:16:05 +01:00
|
|
|
CONFIG_SPIRAM_USE_MALLOC=y
|
|
|
|
|
|
|
|
# This is the threshold for preferring small allocations from internal memory
|
|
|
|
# first, before failing over to PSRAM.
|
|
|
|
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=8192
|