add iar --fpu option

This commit is contained in:
hathach 2023-01-24 12:57:07 +07:00
parent 0a4e611e37
commit df2ebe5d1a
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ GCC_CFLAGS += \
GCC_CFLAGS += -Wno-error=cast-align
# IAR Flags
IAR_CFLAGS += --cpu cortex-m4
IAR_ASFLAGS += --cpu cortex-m4
IAR_CFLAGS += --cpu cortex-m4 --fpu VFPv4
IAR_ASFLAGS += --cpu cortex-m4 --fpu VFPv4
# -----------------
# Sources & Include

View File

@ -40,8 +40,8 @@ GCC_CFLAGS += \
GCC_CFLAGS += -Wno-error=shadow -Wno-error=cast-align
# IAR Flags
IAR_CFLAGS += --cpu cortex-m7
IAR_ASFLAGS += --cpu cortex-m7
IAR_CFLAGS += --cpu cortex-m7 --fpu VFPv5_D16
IAR_ASFLAGS += --cpu cortex-m7 --fpu VFPv5_D16
# -----------------
# Sources & Include