[QSPI] Fixed OCTOSPI base address on stm32u5

pull/460/head
Daniele Lacamera 2024-06-26 12:01:46 +02:00
parent 24fdeb54d4
commit 52e62688e0
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@
#define PERIPH_BASE (0x40000000UL)
#endif
#define OCTOSPI1_BASE (PERIPH_BASE + 0x020D1400UL)
#define OCTOSPI2_BASE (PERIPH_BASE + 0x020D2400UL)
#define OCTOSPI_BASE OCTOSPI2_BASE
/* Registers mapping */
#define APB2PERIPH_BASE (PERIPH_BASE + 0x00012C00UL)
#define RCC_BASE (PERIPH_BASE + 0x06020C00UL)