debug: no UNALIGNED_ACCESS_SUPPORTED for cortex M0 or M0plus
Set the UNALIGNED_ACCESS_SUPPORTED only for MCU with cortex M that are neither M0 nor M0plus Cortex M0 or M0plus mcus do not support un-aligned address access Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
2abd982040
commit
9e03abb8cb
@ -6,7 +6,9 @@
|
||||
#include <zephyr/debug/mipi_stp_decoder.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(CONFIG_CPU_CORTEX_M) && !defined(CONFIG_CPU_CORTEX_M0)
|
||||
#if defined(CONFIG_CPU_CORTEX_M) && \
|
||||
!defined(CONFIG_CPU_CORTEX_M0) && \
|
||||
!defined(CONFIG_CPU_CORTEX_M0PLUS)
|
||||
#define UNALIGNED_ACCESS_SUPPORTED 1
|
||||
#else
|
||||
#define UNALIGNED_ACCESS_SUPPORTED 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user