PPP2: Switch to CMake for PSRAM enable.

This commit is contained in:
Phil Howard 2025-02-28 14:16:19 +00:00
parent 0527852dbd
commit ea54df2e77
2 changed files with 4 additions and 1 deletions

View File

@ -36,4 +36,8 @@ set(MICROPY_BLUETOOTH_BTSTACK ON)
# MICROPY_PY_BLUETOOTH_CYW43 = 1 # MICROPY_PY_BLUETOOTH_CYW43 = 1
set(MICROPY_PY_BLUETOOTH_CYW43 ON) set(MICROPY_PY_BLUETOOTH_CYW43 ON)
# Sets:
# MICROPY_HW_ENABLE_PSRAM=1
set(MICROPY_HW_ENABLE_PSRAM ON)

View File

@ -26,6 +26,5 @@ int mp_hal_is_pin_reserved(int n);
#define MICROPY_HW_PIN_RESERVED(i) mp_hal_is_pin_reserved(i) #define MICROPY_HW_PIN_RESERVED(i) mp_hal_is_pin_reserved(i)
// PSRAM Settings // PSRAM Settings
#define MICROPY_HW_ENABLE_PSRAM (1)
#define MICROPY_HW_PSRAM_CS_PIN PIMORONI_PICO_PLUS2_PSRAM_CS_PIN #define MICROPY_HW_PSRAM_CS_PIN PIMORONI_PICO_PLUS2_PSRAM_CS_PIN
#define MICROPY_GC_SPLIT_HEAP (1) #define MICROPY_GC_SPLIT_HEAP (1)