| 1 |
# MicroPython on ESP32-S2 and ESP32-PAD1_subscript_3, ESP IDF configuration with SPIRAM support |
| 2 |
CONFIG_SPIRAM_MODE_QUAD=y |
| 3 |
CONFIG_SPIRAM_TYPE_AUTO=y |
| 4 |
CONFIG_SPIRAM_CLK_IO=30 |
| 5 |
CONFIG_SPIRAM_CS_IO=26 |
| 6 |
CONFIG_SPIRAM_SPEED_80M=y |
| 7 |
CONFIG_SPIRAM=y |
| 8 |
CONFIG_SPIRAM_BOOT_INIT=y |
| 9 |
CONFIG_SPIRAM_IGNORE_NOTFOUND=y |
| 10 |
CONFIG_SPIRAM_USE_MALLOC=y |
| 11 |
|
| 12 |
# This is the threshold for preferring small allocations from internal memory |
| 13 |
# first, before failing over to PSRAM. |
| 14 |
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=8192 |