diff options
| author | Limor "Ladyada" Fried <limor@ladyada.net> | 2021-03-19 12:42:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-19 12:42:35 -0400 |
| commit | c0ec904c7a4ef5ce268f8ca935e6db3d81780e32 (patch) | |
| tree | 07d6b7985b2665c2240eeeaa7dbf9b34b3c20c14 /ports | |
| parent | 0615876d9f738cf7e040c5014cf953823498573e (diff) | |
| parent | 01a1cdf13a0c5385df3ff396f4ccaf5a1c6c597c (diff) | |
Merge pull request #4441 from jepler/metro_m7_4mb
metro m7: another place to fix flash capacity
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/mimxrt10xx/boards/metro_m7_1011/flash_config.c | 2 | ||||
| -rw-r--r-- | ports/mimxrt10xx/boards/metro_m7_1011/mpconfigboard.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/mimxrt10xx/boards/metro_m7_1011/flash_config.c b/ports/mimxrt10xx/boards/metro_m7_1011/flash_config.c index 3f4ab0271..b2894d766 100644 --- a/ports/mimxrt10xx/boards/metro_m7_1011/flash_config.c +++ b/ports/mimxrt10xx/boards/metro_m7_1011/flash_config.c @@ -36,7 +36,7 @@ const BOOT_DATA_T boot_data = { 0xFFFFFFFF /* empty - extra data word */ }; -// Config for W25Q16JV with QSPI routed. +// Config for W25Q32JV with QSPI routed. (compatible with GD25Q32) __attribute__((section(".boot_hdr.conf"))) const flexspi_nor_config_t qspiflash_config = { .pageSize = 256u, diff --git a/ports/mimxrt10xx/boards/metro_m7_1011/mpconfigboard.h b/ports/mimxrt10xx/boards/metro_m7_1011/mpconfigboard.h index b11edb18b..23009f353 100644 --- a/ports/mimxrt10xx/boards/metro_m7_1011/mpconfigboard.h +++ b/ports/mimxrt10xx/boards/metro_m7_1011/mpconfigboard.h @@ -7,7 +7,7 @@ // make sure you don't overwrite code #define CIRCUITPY_INTERNAL_NVM_SIZE 0 -#define BOARD_FLASH_SIZE (2 * 1024 * 1024) +#define BOARD_FLASH_SIZE (4 * 1024 * 1024) #define DEFAULT_I2C_BUS_SCL (&pin_GPIO_02) #define DEFAULT_I2C_BUS_SDA (&pin_GPIO_01) |
