arm/armv8-m: add missing zig flags

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-03-06 17:46:24 +08:00 committed by Alan Carvalho de Assis
parent 7111d23ae4
commit 34a032b486

View File

@ -35,6 +35,7 @@ else ifeq ($(CONFIG_ARCH_CORTEXM33),y)
ifeq ($(CONFIG_ARCH_FPU),y)
TOOLCHAIN_MFLOAT := -mfpu=fpv5-sp-d16
endif
ZARCHCPUFLAGS := -mcpu=cortex_m33
else ifeq ($(CONFIG_ARCH_CORTEXM35P),y)
TOOLCHAIN_MTUNE := -mtune=cortex-m35p
TOOLCHAIN_MARCH := -march=armv8-m.main$(EXTCPUFLAGS)