RTEMS | stm32h7/bspstarthook: improve init robustness and diagnostics (!1147)

Mohamed Ayman (@mohamedayman23) gitlab at rtems.org
Wed Mar 18 12:45:58 UTC 2026



Mohamed Ayman created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1147

Project:Branches: mohamedayman23/rtems:improve-stm32h7-init-robustness to rtems/rtos/rtems:main
Author:   Mohamed Ayman



stm32h7/bspstarthook: improve init robustness and diagnostics

Add a timeout to the VOSRDY wait loop in stm32h7_init_power() to avoid a potential infinite busy-wait if the hardware never becomes ready. 

Use distinct error codes in bsp_reset() for each initialization step (oscillator, clocks, peripheral clocks) to make failures easier to identify during debugging. 

Also add short comments to document the purpose of the initialization functions for better readability.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1147
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260318/ce800c89/attachment-0001.htm>


More information about the bugs mailing list