bsps/stm32h7: Workaround STM32 H7 errata by enforcing aligned access only

The patch changes compiler ABI flags option and adds -mno-unaligned-access
there. Usage of this option is also officially recommended way
by the errata document how to work around the issue. For more details
about the errata please see referenced issue number.

Closes #5110.
This commit is contained in:
Karel Gardas
2024-08-09 15:39:11 +02:00
committed by Amar Takhar
parent 9c57576a4b
commit d81bf04501

View File

@@ -15,12 +15,14 @@ default:
- -mcpu=cortex-m4
- -mfpu=fpv4-sp-d16
- -mfloat-abi=hard
- -mno-unaligned-access
- enabled-by: true
value:
- -mthumb
- -mcpu=cortex-m7
- -mfpu=fpv5-d16
- -mfloat-abi=hard
- -mno-unaligned-access
description: |
ABI flags
enabled-by: true