RTEMS | bsps/stm32h7: make errata configurable (!184)

Sebastian Huber (@sebhub) gitlab at rtems.org
Wed Aug 14 03:19:58 UTC 2024



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/184 was reviewed by Sebastian Huber

--
  
Sebastian Huber started a new discussion on spec/build/bsps/arm/stm32h7/errata.yml: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/184#note_110945

 > +- Copyright (C) 2024 Karel Gardas
 > +do-build: null
 > +do-configure: |

You should avoid scripts if possible. You can use `enabled-by:  STM32H7_ERRATA_ENABLE_FMC_282` and make it an option with these actions:
```yaml
actions:
- get-string: null
- split: null
- env-append: ABI_FLAGS
```
You can also use a single `STM32H7_ERRATA_FMC_282_FLAGS` option which is `-mno-unaligned-access` by default and can be configured to be empty.

The libc, C++ library, etc. will not use this option. I am not sure if this is an issue.




-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/184
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/20240814/ce5cb614/attachment-0001.htm>


More information about the bugs mailing list