Skip to content

Commit 44c0add

Browse files
hathachclaude
andcommitted
remove IAR toolchain support from make build system
IAR is only supported with CMake. Remove all IAR-specific references from the Make build system including toolchain files, SRC_S_IAR, LD_FILE_IAR variables, and IAR toolchain detection. Also fix GET_SECTOR_COUNT truncation in msc_file_explorer and broken formatting in stm32f7 board_uart_write. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 418501e commit 44c0add

139 files changed

Lines changed: 224 additions & 479 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/build_system/make/cpu/arm1176jzf-s.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@ ifeq ($(TOOLCHAIN),gcc)
22
CFLAGS += \
33
-mcpu=arm1176jzf-s \
44

5-
else ifeq ($(TOOLCHAIN),iar)
6-
#CFLAGS += --cpu cortex-a53
7-
#ASFLAGS += --cpu cortex-a53
8-
95
endif

examples/build_system/make/cpu/arm926ej-s.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@ ifeq ($(TOOLCHAIN),gcc)
22
CFLAGS += \
33
-mcpu=arm926ej-s \
44

5-
else ifeq ($(TOOLCHAIN),iar)
6-
#CFLAGS += --cpu cortex-a53
7-
#ASFLAGS += --cpu cortex-a53
8-
95
endif

examples/build_system/make/cpu/cortex-a53.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ ifeq ($(TOOLCHAIN),gcc)
22
CFLAGS += \
33
-mcpu=cortex-a53 \
44

5-
else ifeq ($(TOOLCHAIN),iar)
6-
CFLAGS += \
7-
--cpu cortex-a53 \
8-
95
ASFLAGS += \
106
--cpu cortex-a53 \
117

examples/build_system/make/cpu/cortex-a72.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ ifeq ($(TOOLCHAIN),gcc)
22
CFLAGS += \
33
-mcpu=cortex-a72 \
44

5-
else ifeq ($(TOOLCHAIN),iar)
6-
CFLAGS += \
7-
--cpu cortex-a72 \
8-
95
ASFLAGS += \
106
--cpu cortex-a72 \
117

examples/build_system/make/cpu/cortex-m0.mk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ else ifeq ($(TOOLCHAIN),clang)
99
--target=arm-none-eabi \
1010
-mcpu=cortex-m0 \
1111

12-
else ifeq ($(TOOLCHAIN),iar)
13-
# IAR Flags
14-
CFLAGS += --cpu cortex-m0
15-
ASFLAGS += --cpu cortex-m0
16-
1712
else
1813
$(error "TOOLCHAIN is not supported")
1914
endif

examples/build_system/make/cpu/cortex-m0plus.mk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ else ifeq ($(TOOLCHAIN),clang)
99
--target=arm-none-eabi \
1010
-mcpu=cortex-m0plus \
1111

12-
else ifeq ($(TOOLCHAIN),iar)
13-
# IAR Flags
14-
CFLAGS += --cpu cortex-m0+
15-
ASFLAGS += --cpu cortex-m0+
16-
1712
else
1813
$(error "TOOLCHAIN is not supported")
1914
endif

examples/build_system/make/cpu/cortex-m23.mk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ else ifeq ($(TOOLCHAIN),clang)
99
--target=arm-none-eabi \
1010
-mcpu=cortex-m23 \
1111

12-
else ifeq ($(TOOLCHAIN),iar)
13-
# IAR Flags
14-
CFLAGS += --cpu cortex-m23
15-
ASFLAGS += --cpu cortex-m23
16-
1712
else
1813
$(error "TOOLCHAIN is not supported")
1914
endif

examples/build_system/make/cpu/cortex-m3.mk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ else ifeq ($(TOOLCHAIN),clang)
99
--target=arm-none-eabi \
1010
-mcpu=cortex-m3 \
1111

12-
else ifeq ($(TOOLCHAIN),iar)
13-
# IAR Flags
14-
CFLAGS += --cpu cortex-m3
15-
ASFLAGS += --cpu cortex-m3
16-
1712
else
1813
$(error "TOOLCHAIN is not supported")
1914
endif

examples/build_system/make/cpu/cortex-m33-nodsp-nofp.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ else ifeq ($(TOOLCHAIN),clang)
1010
-mcpu=cortex-m33 \
1111
-mfpu=softvp \
1212

13-
else ifeq ($(TOOLCHAIN),iar)
14-
CFLAGS += \
15-
--cpu cortex-m33+nodsp \
16-
1713
ASFLAGS += \
1814
--cpu cortex-m33+nodsp \
1915

examples/build_system/make/cpu/cortex-m33.mk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ else ifeq ($(TOOLCHAIN),clang)
1111
-mcpu=cortex-m33 \
1212
-mfpu=fpv5-sp-d16 \
1313

14-
else ifeq ($(TOOLCHAIN),iar)
15-
CFLAGS += \
16-
--cpu cortex-m33 \
17-
--fpu VFPv5-SP \
18-
1914
ASFLAGS += \
2015
--cpu cortex-m33 \
2116
--fpu VFPv5-SP \

0 commit comments

Comments
 (0)