From 50322234b79e4ddbfdefc059aa5c77464498a142 Mon Sep 17 00:00:00 2001 From: Philip Howard Date: Mon, 4 Nov 2024 19:12:11 +0000 Subject: [PATCH] boards/pimoroni_plasma2350.h: correct flash size. (#2015) Correct flash size from 8MB to 4MB to avoid wrapped addresses causing firmware to be overwritten by the user filesystem in MicroPython. Signed-off-by: Phil Howard --- src/boards/include/boards/pimoroni_plasma2350.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boards/include/boards/pimoroni_plasma2350.h b/src/boards/include/boards/pimoroni_plasma2350.h index fa79e15de..8604f023d 100644 --- a/src/boards/include/boards/pimoroni_plasma2350.h +++ b/src/boards/include/boards/pimoroni_plasma2350.h @@ -104,9 +104,9 @@ #define PICO_FLASH_SPI_CLKDIV 2 #endif -// pico_cmake_set_default PICO_FLASH_SIZE_BYTES = (8 * 1024 * 1024) +// pico_cmake_set_default PICO_FLASH_SIZE_BYTES = (4 * 1024 * 1024) #ifndef PICO_FLASH_SIZE_BYTES -#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024) +#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024) #endif #ifndef PICO_RP2350_A2_SUPPORTED