PPP2: Switch to CMake for PSRAM enable.
This commit is contained in:
parent
0527852dbd
commit
ea54df2e77
@ -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)
|
||||
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user