diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0949fa2899..a768a79170 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -738,6 +738,20 @@ config ARCH_CORTEXM35P select ARCH_HAVE_HARDFAULT_DEBUG select ARCH_HAVE_MEMFAULT_DEBUG +config ARCH_CORTEXM55 + bool + default n + select ARCH_ARMV8M + select ARCH_HAVE_IRQPRIO + select ARCH_HAVE_IRQTRIGGER + select ARCH_HAVE_RAMVECTORS + select ARCH_HAVE_LAZYFPU + select ARCH_HAVE_HIPRI_INTERRUPT + select ARCH_HAVE_RESET + select ARCH_HAVE_TESTSET + select ARCH_HAVE_HARDFAULT_DEBUG + select ARCH_HAVE_MEMFAULT_DEBUG + config ARCH_FAMILY string default "arm" if ARCH_ARM7TDMI || ARCH_ARM920T || ARCH_ARM926EJS || ARCH_ARM1136J || ARCH_ARM1156T2 || ARCH_ARM1176JZ diff --git a/arch/arm/src/armv8-m/Toolchain.defs b/arch/arm/src/armv8-m/Toolchain.defs index 760ad42096..0254e12b74 100644 --- a/arch/arm/src/armv8-m/Toolchain.defs +++ b/arch/arm/src/armv8-m/Toolchain.defs @@ -96,6 +96,14 @@ else ifeq ($(CONFIG_ARCH_CORTEXM35P),y) else TOOLCHAIN_MFLOAT := -mfloat-abi=soft endif +else ifeq ($(CONFIG_ARCH_CORTEXM55),y) + TOOLCHAIN_MCPU := -mcpu=cortex-m55 + TOOLCHAIN_MARCH := -march=armv8.1-m.main+dsp + ifeq ($(CONFIG_ARCH_FPU),y) + TOOLCHAIN_MFLOAT := -mfpu=fpv5-d16 -mfloat-abi=hard + else + TOOLCHAIN_MFLOAT := -mfloat-abi=soft + endif endif