Skip to content

Commit 0c4d7d4

Browse files
jeromecoutantCruz Monrreal II
authored andcommitted
STM32L4 QSPI: correct register address
1 parent ac0fb3c commit 0c4d7d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_NUCLEO_L476RG/PeripheralNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ typedef enum {
8484
} CANName;
8585

8686
typedef enum {
87-
QSPI_1 = (int)QSPI_BASE
87+
QSPI_1 = (int)QSPI_R_BASE
8888
} QSPIName;
8989

9090
#ifdef __cplusplus

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/TARGET_NUCLEO_L486RG/PeripheralNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ typedef enum {
8484
} CANName;
8585

8686
typedef enum {
87-
QSPI_1 = (int)QSPI_BASE
87+
QSPI_1 = (int)QSPI_R_BASE
8888
} QSPIName;
8989

9090
#ifdef __cplusplus

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/TARGET_NUCLEO_L496ZG/PeripheralNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ typedef enum {
8686
} CANName;
8787

8888
typedef enum {
89-
QSPI_1 = (int)QSPI_BASE
89+
QSPI_1 = (int)QSPI_R_BASE
9090
} QSPIName;
9191

9292
#ifdef __cplusplus

0 commit comments

Comments
 (0)