nuttx/arch/arm/include/armv8-m
guoshichao 6036a318f4 compiler: add __ARM_ARCH, __ARM_FEATURE_DSP macro definition in ghs
when we build mbedtls in vela with ghs compiler, the mbedtls need to
access __ARM_ARCH and __ARM_FEATURE_DSP, and to construct the inline asm
code based on these two macros.
With ghs compiler, these two macros are not defined, and will be
evaluated as 0 by default, and thus will using to wrong inline asm code,
in order to handle this issue, we need to add conversion between the ghs
and gcc with __ARM_ARCH, __ARM_FEATURE_DSP

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2024-11-11 22:18:05 +08:00
..
irq.h compiler: add __ARM_ARCH, __ARM_FEATURE_DSP macro definition in ghs 2024-11-11 22:18:05 +08:00
nvicpri.h include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00