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
This commit is contained in:
Mike Causer 2021-11-17 16:25:51 +11:00 committed by Damien George
parent b851950c26
commit 172a031dff
1 changed files with 1 additions and 1 deletions

View File

@ -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)