arm/stm32f4/.../stm32f4.h: Duplicate definition of STM32F4_FLASH

STM32F4_FLASH was defined in two places. The first used a hard
coded full address while the second used a more appropriate
base address and offset. Kept the second.
This commit is contained in:
Joel Sherrill
2025-08-01 15:50:09 -05:00
committed by Gedare Bloom
parent 5fe179df8f
commit 347fe98fe4

View File

@@ -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>
/**