Skip to content

Commit

Permalink
qspi_hal_test - adjust used memory sector count
Browse files Browse the repository at this point in the history
set flash sector count to 1024 for EFM32GG11_STK3701(MX25R3235F)
set flash sector count to 2048 for NRF52840_DK(MX25R6435F)
  • Loading branch information
maciejbocianski committed Aug 31, 2018
1 parent 3a64383 commit cffd581
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cffd581

Please sign in to comment.