Skip to content

Commit 97151d3

Browse files
committed
esp32: Enable PSRAM support on ESP32_GENERIC_C5.
Similar to S2 & S3, it should be OK to detect at boot if present or not. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
1 parent 84df112 commit 97151d3

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

ports/esp32/boards/SPARKFUN_THINGPLUS_ESP32C5/mpconfigboard.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ include(boards/mpconfigboard_esp32c5_common.cmake)
22

33
list(APPEND SDKCONFIG_DEFAULTS
44
boards/sdkconfig.flash_qio_80m
5-
boards/sdkconfig.spiram)
5+
boards/sdkconfig.spiram_sx)
66

77
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)

ports/esp32/boards/mpconfigboard_esp32c5_common.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ set(SDKCONFIG_DEFAULTS
55
boards/sdkconfig.riscv
66
boards/sdkconfig.ble
77
boards/sdkconfig.240mhz
8+
boards/sdkconfig.spiram_sx
89
)

ports/esp32/boards/sdkconfig.spiram_sx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MicroPython on ESP32-S2 and ESP32-PAD1_subscript_3, ESP IDF configuration with SPIRAM support
1+
# MicroPython on ESP32-S2, ESP32-S3 & ESP32-C5, ESP IDF configuration with SPIRAM support
22
CONFIG_SPIRAM_MODE_QUAD=y
33
CONFIG_SPIRAM_TYPE_AUTO=y
44
CONFIG_SPIRAM_SPEED_80M=y

0 commit comments

Comments
 (0)