Merge pull request #4441 from jepler/metro_m7_4mb
metro m7: another place to fix flash capacity
This commit is contained in:
commit
c0ec904c7a
@ -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,
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user