[PATCH 2/2] bsp/stm32f4.h: Remove double define
Matthew Joyce
matthew.joyce at embedded-brains.de
Thu Oct 20 07:30:28 UTC 2022
It's on line 131. Both defines are referring to the same address
(0x40023C00) --one define just starts from STM32F4_BASE and the other
from STM32F4_AHB1_BASE.
On 19.10.22 14:46, Joel Sherrill wrote:
> Looks ok but where was the other one?
>
> On Wed, Oct 19, 2022, 5:57 AM Matthew Joyce
> <matthew.joyce at embedded-brains.de> wrote:
>
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
--
embedded brains GmbH
Herr Matthew JOYCE
Dornierstr. 4
82178 Puchheim
Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20221020/2d8e06d4/attachment.htm>
More information about the devel
mailing list