Skip to content

Commit c53dc85

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 c53dc85

File tree

139 files changed

+224
-502
lines changed

Some content is hidden

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

139 files changed

+224
-502
lines changed

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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,4 @@ ifeq ($(TOOLCHAIN),gcc)
22
CFLAGS += \
33
-mcpu=cortex-a53 \
44

5-
else ifeq ($(TOOLCHAIN),iar)
6-
CFLAGS += \
7-
--cpu cortex-a53 \
8-
9-
ASFLAGS += \
10-
--cpu cortex-a53 \
11-
125
endif

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

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

5-
else ifeq ($(TOOLCHAIN),iar)
6-
CFLAGS += \
7-
--cpu cortex-a72 \
8-
9-
ASFLAGS += \
10-
--cpu cortex-a72 \
11-
125
endif

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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +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-
17-
ASFLAGS += \
18-
--cpu cortex-m33+nodsp \
19-
2013
else
2114
$(error "TOOLCHAIN is not supported")
2215
endif

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +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-
19-
ASFLAGS += \
20-
--cpu cortex-m33 \
21-
--fpu VFPv5-SP \
22-
2314
else
2415
$(error "TOOLCHAIN is not supported")
2516
endif

0 commit comments

Comments
 (0)