Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F7 common startup #3246

Merged
merged 5 commits into from
Jun 17, 2024
Merged

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Jun 10, 2024

This switches STM32F7 boards to use common startup code.
Additionally:

  • reset reason reporting fixed
  • .cmd and local .ld and startup files removed

POR was not correctly reported.
POR and BOR moved up.

Signed-off-by: Jerzy Kasenberg <[email protected]>
Signed-off-by: Jerzy Kasenberg <[email protected]>
STM32F7 now uses common startup code for Cortex-M7 and
autogenerated linker script.

Flash cache initialization moved to hal_system_init.c to
make system_stm32f7xx.c more like original ST file
so future updates will be easier.

Unused ld scripts remove

NVIC_NUM_VECTOR corrected (probably value was from other MCU)

Signed-off-by: Jerzy Kasenberg <[email protected]>
This removes local startup code and linker scripts

Signed-off-by: Jerzy Kasenberg <[email protected]>
@kasjer kasjer added enhancement STM STM32 related labels Jun 10, 2024
@kasjer kasjer force-pushed the kasjer/stm32f7-common-startup branch from 53a1930 to c657b02 Compare June 10, 2024 12:49
@kasjer kasjer changed the title mcu/stm32f7: Fix reset reason STM32F7 common startup Jun 10, 2024
@kasjer kasjer merged commit 7803945 into apache:master Jun 17, 2024
17 checks passed
@kasjer kasjer deleted the kasjer/stm32f7-common-startup branch June 17, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement STM STM32 related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants