Skip to content

Commit 52e6268

Browse files
committed
[QSPI] Fixed OCTOSPI base address on stm32u5
1 parent 24fdeb5 commit 52e6268

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hal/spi/spi_drv_stm32.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
#define PERIPH_BASE (0x40000000UL)
4949
#endif
5050

51+
#define OCTOSPI1_BASE (PERIPH_BASE + 0x020D1400UL)
52+
#define OCTOSPI2_BASE (PERIPH_BASE + 0x020D2400UL)
53+
54+
#define OCTOSPI_BASE OCTOSPI2_BASE
55+
5156
/* Registers mapping */
5257
#define APB2PERIPH_BASE (PERIPH_BASE + 0x00012C00UL)
5358
#define RCC_BASE (PERIPH_BASE + 0x06020C00UL)

0 commit comments

Comments
 (0)