[PATCH series for review] STM32 H7 HAL update.

Karel Gardas karel at functional.vision
Fri Jul 21 14:30:58 UTC 2023


   Folks,

I'd like to propose and perform STM32 H7 HAL code update. Currently this 
HAL code is part of RTEMS source tree located inside bsps/arm/stm32h7 
subdirectory.

As the patches are too big to be sent to the mailing list, I'm providing 
them here for review:

https://github.com/karelfv/rtems/commits/stm32h7-hal-update-2023-07

Few notes:

- part of HAL files got relicensed by STMicro from BSD-3 to Apache-2.0. 
Fortunately the project does not contain NOTICE file so we do not need 
to organize anything about it.
https://github.com/karelfv/rtems/commit/ec59116a2e8c1b637cc59d2ef619880ce507816e

- I've tried to apply all Sebastian's and Christian's patches done to 
original HAL. All is done except doxygenization patch which I needed to 
do completely new due to a lot of hunks aborting and also a lot of new 
occurrences where it should be applied.
https://github.com/karelfv/rtems/commit/04936e21b0daeaa43082c73919fbf3274e9482ca

- new HAL code breaks compilation of libbsd (for this particular 
platform! Not in general). This is due to inclusion of math.h. I've 
solved that by crude hack.
https://github.com/karelfv/rtems/commit/a1035ba3cee4dc6967bb978aa04ef763c9d2fcfd


Otherwise I hope the patch set is tolerable for RTEMS-6 as for RTEM-7 we 
plan to remove that code completely to a separate module anyway...

Thanks for review!
Karel


More information about the devel mailing list