[PATCH 2/2] bsp/stm32f4.h: Remove double define

Matthew Joyce matthew.joyce at embedded-brains.de
Wed Oct 19 10:57:24 UTC 2022


From: Matt Joyce <matthew.joyce at embedded-brains.de>

Remove double define of STM32F4_FLASH.
---
 bsps/arm/stm32f4/include/bsp/stm32f4.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4.h b/bsps/arm/stm32f4/include/bsp/stm32f4.h
index 7f84480ece..3b1f9ff9ba 100644
--- a/bsps/arm/stm32f4/include/bsp/stm32f4.h
+++ b/bsps/arm/stm32f4/include/bsp/stm32f4.h
@@ -54,16 +54,6 @@
 
 /** @} */
 
-/**
- * @name STM32F4XXXX FLASH
- * @{
- */
-
-#include <bsp/stm32f4xxxx_flash.h>
-#define STM32F4_FLASH ((volatile stm32f4_flash *) (STM32F4_BASE + 0x40023C00))
-
-/** @} */
-
 #include <bsp/stm32_i2c.h>
 
 /**
-- 
2.31.1



More information about the devel mailing list