From 334a42bce7d2b3d8c07be9c805ceb50b8ced20d7 Mon Sep 17 00:00:00 2001 From: Dominic Date: Wed, 7 Feb 2024 16:58:16 +0100 Subject: [PATCH] Fix register address for OCTOSPI2 peripheral --- stm32-data-gen/src/header.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stm32-data-gen/src/header.rs b/stm32-data-gen/src/header.rs index d3927a5..b6dfb44 100644 --- a/stm32-data-gen/src/header.rs +++ b/stm32-data-gen/src/header.rs @@ -170,6 +170,10 @@ impl Defines { "OCTOSPI1", &["OSPI_R", "OCTOSPI1_R_BASE", "OCTOSPI1_R_BASE_NS", "OCTOSPI1_REG_BASE"], ), + ( + "OCTOSPI2", + &["OCTOSPI2_R_BASE", "OCTOSPI2_R_BASE_NS", "OCTOSPI2_REG_BASE"], + ), ("FLASH", &["FLASH_R_BASE", "FLASH_REG_BASE"]), ( "ADC_COMMON",