summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Causer <mcauser@gmail.com>2021-11-17 16:25:51 +1100
committerDamien George <damien@micropython.org>2021-11-19 15:34:07 +1100
commit172a031dff5b767be0accc9ae4810c1f897d3dde (patch)
tree25c5d5159988d2f551601f60b6b830af90f61e4a
parentb851950c26e185d46c16b993d310506992fbdb89 (diff)
rp2/boards/PIMORONI_PICOLIPO_16MB: Fix 16MB flash size.
Was incorrectly added as 7MB for an 8MB SPI flash, but this board has a 16MB chip, not 8MB, so it should be 15MB leaving 1MB for MicroPython. Thanks to @robert-hh
-rw-r--r--ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h b/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h
index 68478f761..134c2ff78 100644
--- a/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h
+++ b/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h
@@ -1,7 +1,7 @@
// https://shop.pimoroni.com/products/pimoroni-pico-lipo?variant=39335427080275
#define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 16MB"
-#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
+#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)
#define MICROPY_HW_USB_VID (0x2E8A)
#define MICROPY_HW_USB_PID (0x1003)