Merge pull request #4441 from jepler/metro_m7_4mb

metro m7: another place to fix flash capacity
This commit is contained in:
Limor "Ladyada" Fried 2021-03-19 12:42:35 -04:00 committed by GitHub
commit c0ec904c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ const BOOT_DATA_T boot_data = {
0xFFFFFFFF /* empty - extra data word */ 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"))) __attribute__((section(".boot_hdr.conf")))
const flexspi_nor_config_t qspiflash_config = { const flexspi_nor_config_t qspiflash_config = {
.pageSize = 256u, .pageSize = 256u,

View File

@ -7,7 +7,7 @@
// make sure you don't overwrite code // make sure you don't overwrite code
#define CIRCUITPY_INTERNAL_NVM_SIZE 0 #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_SCL (&pin_GPIO_02)
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO_01) #define DEFAULT_I2C_BUS_SDA (&pin_GPIO_01)