[PATCH] bsps/arm/stm32f4 Optimize get pin and change from HAL to LL
Duc Doan
dtbpkmte at gmail.com
Thu Jul 7 07:35:42 UTC 2022
Hello Cedric,
On Wed, 2022-07-06 at 16:41 +0200, Cedric Berger wrote:
> One more detail and one question follows:
>
> > static unsigned int EXTIx_IRQn[] = {
> > EXTI0_IRQn,
> > EXTI1_IRQn,
>
> Detail: You should really mark all constants like that "const": on a
> STM32 with little RAM, the constants stays in FLASH and that makes a
> difference.
>
Thanks, I will change that.
> Finally, sorry for my ignorance - I don't know the overall plan on
> that
> project here - but I'm sure that code is 99.5% compatible with the
> STM32H7. Do you plan to enable it there too?
Actually my project is focused on STM32F4, but it is nice that the code
could be extensible to H7. However, I can't think of a good way to use
that code with H7 right now; do you think that the code can be copied
and pasted to H7 BSP? Or is there a better way to share the code among
all STM32 BSPs?
Best,
Duc Doan
More information about the devel
mailing list