mirror of https://github.com/ARMmbed/mbed-os.git
qspi_hal_test - adjust used memory sector count
set flash sector count to 1024 for EFM32GG11_STK3701(MX25R3235F) set flash sector count to 2048 for NRF52840_DK(MX25R6435F)pull/7925/head
parent
3a64383de5
commit
cffd581308
|
@ -29,4 +29,9 @@
|
|||
#undef QSPI_CMD_READ_1IO
|
||||
#define QSPI_CMD_READ_1IO QSPI_CMD_READ_1IO_FAST
|
||||
|
||||
#ifdef QSPI_SECTOR_COUNT
|
||||
#undef QSPI_SECTOR_COUNT
|
||||
#define QSPI_SECTOR_COUNT 2048 // for MX25R6435F
|
||||
#endif
|
||||
|
||||
#endif // MBED_QSPI_FLASH_CONFIG_H
|
||||
|
|
|
@ -18,5 +18,9 @@
|
|||
|
||||
#include "../../MX25RXX35F_config.h"
|
||||
|
||||
#ifdef QSPI_SECTOR_COUNT
|
||||
#undef QSPI_SECTOR_COUNT
|
||||
#define QSPI_SECTOR_COUNT 1024 // for MX25R3235F
|
||||
#endif
|
||||
|
||||
#endif // MBED_QSPI_FLASH_CONFIG_H
|
||||
|
|
Loading…
Reference in New Issue