Skip to content

Commit cffd581

Browse files
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)
1 parent 3a64383 commit cffd581

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

TESTS/mbed_hal/qspi/flash_configs/NORDIC/NRF52840_DK/flash_config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@
2929
#undef QSPI_CMD_READ_1IO
3030
#define QSPI_CMD_READ_1IO QSPI_CMD_READ_1IO_FAST
3131

32+
#ifdef QSPI_SECTOR_COUNT
33+
#undef QSPI_SECTOR_COUNT
34+
#define QSPI_SECTOR_COUNT 2048 // for MX25R6435F
35+
#endif
36+
3237
#endif // MBED_QSPI_FLASH_CONFIG_H

TESTS/mbed_hal/qspi/flash_configs/SiliconLabs/EFM32GG11_STK3701/flash_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@
1818

1919
#include "../../MX25RXX35F_config.h"
2020

21+
#ifdef QSPI_SECTOR_COUNT
22+
#undef QSPI_SECTOR_COUNT
23+
#define QSPI_SECTOR_COUNT 1024 // for MX25R3235F
24+
#endif
2125

2226
#endif // MBED_QSPI_FLASH_CONFIG_H

0 commit comments

Comments
 (0)