Skip to content

Commit 7e99230

Browse files
committed
QSPI HAL test: flash configuration file selection update
1 parent 8a68ec0 commit 7e99230

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

TESTS/mbed_hal/qspi/flash_configs/flash_configs.h

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,8 @@
1717
#ifndef MBED_FLASH_CONFIGS_H
1818
#define MBED_FLASH_CONFIGS_H
1919

20-
#if defined(TARGET_DISCO_L475VG_IOT01A)
21-
#include "MX25RXX35F_config.h" // MX25R6435F
22-
23-
#elif defined(TARGET_DISCO_F413ZH)
24-
#include "N25Q128A_config.h" // N25Q128A13EF840F
25-
26-
#elif defined(TARGET_DISCO_F746NG)
27-
#include "N25Q128A_config.h" // N25Q128A13EF840E
28-
29-
#elif defined(TARGET_DISCO_F469NI)
30-
#include "N25Q128A_config.h" // N25Q128A13EF840E
31-
32-
#elif defined(TARGET_DISCO_F769NI)
33-
#include "MX25L51245G_config.h" // MX25L51245G
34-
35-
#elif defined(TARGET_DISCO_L4R9I)
36-
#include "MX25LM51245G_config.h" // MX25LM51245G
20+
#if defined(TARGET_MX25R6435F)
21+
#include "MX25RXX35F_config.h"
3722

3823
#elif defined(TARGET_DISCO_L476VG)
3924
#include "N25Q128A_config.h" // N25Q128A13EF840E
@@ -43,6 +28,15 @@
4328
#undef QSPI_CMD_WRITE_DPI
4429
#undef QSPI_CMD_WRITE_QPI
4530

31+
#elif defined(TARGET_N25Q128A)
32+
#include "N25Q128A_config.h"
33+
34+
#elif defined(TARGET_MX25L51245G)
35+
#include "MX25L51245G_config.h" // MX25L51245G
36+
37+
#elif defined(TARGET_MX25LM51245G)
38+
#include "MX25LM51245G_config.h"
39+
4640
#elif defined(TARGET_RHOMBIO_L476DMW1K)
4741
#include "MT25Q_config.h" // MT25QL128ABA1EW7
4842
/* See STM32L476 Errata Sheet, it is not possible to use Dual-/Quad-mode for the command phase */
@@ -51,9 +45,6 @@
5145
#undef QSPI_CMD_WRITE_DPI
5246
#undef QSPI_CMD_WRITE_QPI
5347

54-
#elif defined(TARGET_DISCO_L496AG)
55-
#include "MX25RXX35F_config.h" // MX25R6435F
56-
5748
#elif defined(TARGET_NRF52840)
5849
#include "NORDIC/NRF52840_DK/flash_config.h"
5950

@@ -88,5 +79,6 @@
8879
#include "S25FL128S_config.h"
8980

9081
#endif
82+
9183
#endif // MBED_FLASH_CONFIGS_H
9284

0 commit comments

Comments
 (0)