diff options
| author | hathach <[email protected]> | 2023-11-23 12:43:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-11-23 12:43:13 +0700 |
| commit | 82880eecbd51ce8cf801ae0c04871e65f81826f4 (patch) | |
| tree | c22f030dfd488da61173967ac192176bb3cd498f /examples/build_system/make/cpu | |
| parent | 1a98f5389c70d159f359c5bfe369d1cbf3af7475 (diff) | |
make nanolib linking explicitly by each family/board
Diffstat (limited to 'examples/build_system/make/cpu')
| -rw-r--r-- | examples/build_system/make/cpu/cortex-m23.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/build_system/make/cpu/cortex-m23.mk b/examples/build_system/make/cpu/cortex-m23.mk new file mode 100644 index 000000000..29542d8e8 --- /dev/null +++ b/examples/build_system/make/cpu/cortex-m23.mk @@ -0,0 +1,14 @@ +ifeq ($(TOOLCHAIN),gcc) + CFLAGS += \ + -mthumb \ + -mcpu=cortex-m23 \ + -mfloat-abi=soft \ + +else ifeq ($(TOOLCHAIN),iar) + # IAR Flags + CFLAGS += --cpu cortex-m23 + ASFLAGS += --cpu cortex-m23 +endif + +# For freeRTOS port source +FREERTOS_PORTABLE_SRC ?= $(FREERTOS_PORTABLE_PATH)/ARM_CM23 |
