diff --git a/hal/spi/spi_drv_stm32.h b/hal/spi/spi_drv_stm32.h index 2be6b242..06b9e389 100644 --- a/hal/spi/spi_drv_stm32.h +++ b/hal/spi/spi_drv_stm32.h @@ -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)