Build system:Board level control of no-unaligned-access

This commit is contained in:
David Sidrane
2021-11-05 13:50:02 -04:00
committed by Daniel Agar
parent af9f8f08c6
commit e2b4e435a9
3 changed files with 23 additions and 2 deletions
+11 -2
View File
@@ -20,7 +20,7 @@ config BOARD_HAS_PROBES
default y
---help---
This board provides GPIO FMU-CH1-8, as PROBE_1-8 to provide timing signals
from selected drivers.
from selected drivers.
config BOARD_USE_PROBES
bool "Enable the use the board provided FMU-CH1-8 as PROBE_1-8"
@@ -29,4 +29,13 @@ config BOARD_USE_PROBES
---help---
Select to use GPIO FMU-CH1-8, as PROBE_1-8 to provide timing signals
from selected drivers.
from selected drivers.
config BOARD_FORCE_ALIGNMENT
bool "Forces all acesses to be Aligned"
default n
---help---
Adds -mno-unaligned-access to build flags. to force alignment.
This can be needed if data is stored in a region of memory, that
is Strongly ordered and dcache is off.