Skip to content

Commit bb8458b

Browse files
committed
Define pins for QSPI MX25R6435F
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 66fd429 commit bb8458b

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

variants/B_L4S5I_IOT01A/variant.h

+8
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ extern "C" {
142142
#define HAL_DAC_MODULE_ENABLED
143143
#define HAL_OSPI_MODULE_ENABLED
144144

145+
/* OCTOSPI pins for MX25R6435F (used in QSPI mode) */
146+
#define MX25R6435F_D0 PE12
147+
#define MX25R6435F_D1 PE13
148+
#define MX25R6435F_D2 PE14
149+
#define MX25R6435F_D3 PE15
150+
#define MX25R6435F_SCLK PE10
151+
#define MX25R6435F_SSEL PE11
152+
145153
#ifdef __cplusplus
146154
} // extern "C"
147155
#endif

variants/DISCO_L475VG_IOT/variant.h

+8
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ extern "C" {
142142
#define HAL_DAC_MODULE_ENABLED
143143
#define HAL_QSPI_MODULE_ENABLED
144144

145+
/* QSPI pins for MX25R6435F */
146+
#define MX25R6435F_D0 PE12
147+
#define MX25R6435F_D1 PE13
148+
#define MX25R6435F_D2 PE14
149+
#define MX25R6435F_D3 PE15
150+
#define MX25R6435F_SCLK PE10
151+
#define MX25R6435F_SSEL PE11
152+
145153
#ifdef __cplusplus
146154
} // extern "C"
147155
#endif

0 commit comments

Comments
 (0)