Correct Seeed XIAO RP2350 flash size from 4MB to 2MB (#2837)

Fixes #2834
This commit is contained in:
Michel Le Bihan 2026-03-02 20:13:59 +01:00 committed by GitHub
parent 6262b49c74
commit 0da73ec045
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,9 +140,9 @@ pico_board_cmake_set(PICO_PLATFORM, rp2350)
#define PICO_FLASH_SPI_CLKDIV 4
#endif
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
#ifndef PICO_FLASH_SIZE_BYTES
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
#endif
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)