diff options
| author | hathach <[email protected]> | 2025-04-17 14:34:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-04-17 14:40:43 +0700 |
| commit | b1eedf4d1d95d6e8c7de425080a107a33cbf0e5d (patch) | |
| tree | 2a3c568ca9742b491b5bef7ae953330e3d9ef948 /examples | |
| parent | eea42fd1197bea01eb480363ccf573544f4c9551 (diff) | |
fix iar make build with wb and u5
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/build_system/make/cpu/cortex-m4.mk | 4 | ||||
| -rw-r--r-- | examples/host/msc_file_explorer/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/build_system/make/cpu/cortex-m4.mk b/examples/build_system/make/cpu/cortex-m4.mk index 4e16819d1..57d6e126d 100644 --- a/examples/build_system/make/cpu/cortex-m4.mk +++ b/examples/build_system/make/cpu/cortex-m4.mk @@ -12,8 +12,8 @@ else ifeq ($(TOOLCHAIN),clang) -mfpu=fpv4-sp-d16 \ else ifeq ($(TOOLCHAIN),iar) - CFLAGS += --cpu cortex-m4 --fpu VFPv4 - ASFLAGS += --cpu cortex-m4 --fpu VFPv4 + CFLAGS += --cpu cortex-m4 --fpu VFPv4-SP + ASFLAGS += --cpu cortex-m4 --fpu VFPv4-SP else $(error "TOOLCHAIN is not supported") diff --git a/examples/host/msc_file_explorer/Makefile b/examples/host/msc_file_explorer/Makefile index c7d6a7cae..f0872376f 100644 --- a/examples/host/msc_file_explorer/Makefile +++ b/examples/host/msc_file_explorer/Makefile @@ -22,6 +22,6 @@ SRC_C += \ $(FATFS_PATH)/ffunicode.c \ # suppress warning caused by fatfs -CFLAGS += -Wno-error=cast-qual +CFLAGS_GCC += -Wno-error=cast-qual include ../../build_system/make/rules.mk |
