diff --git a/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.cmake b/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.cmake index 63092b6..8ce8a25 100644 --- a/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.cmake +++ b/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.cmake @@ -36,4 +36,8 @@ set(MICROPY_BLUETOOTH_BTSTACK ON) # MICROPY_PY_BLUETOOTH_CYW43 = 1 set(MICROPY_PY_BLUETOOTH_CYW43 ON) +# Sets: +# MICROPY_HW_ENABLE_PSRAM=1 +set(MICROPY_HW_ENABLE_PSRAM ON) + diff --git a/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h b/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h index 4d3e7bf..3ceede8 100644 --- a/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h +++ b/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h @@ -26,6 +26,5 @@ int mp_hal_is_pin_reserved(int n); #define MICROPY_HW_PIN_RESERVED(i) mp_hal_is_pin_reserved(i) // PSRAM Settings -#define MICROPY_HW_ENABLE_PSRAM (1) #define MICROPY_HW_PSRAM_CS_PIN PIMORONI_PICO_PLUS2_PSRAM_CS_PIN #define MICROPY_GC_SPLIT_HEAP (1)