diff options
| author | James Sandison <[email protected]> | 2025-06-04 11:21:27 +1000 |
|---|---|---|
| committer | James Sandison <[email protected]> | 2025-06-04 11:21:27 +1000 |
| commit | 56c9521abdef663b455a345c99a4f6b22591aa56 (patch) | |
| tree | dfc6f01a600f902ce850df94a61b1f98931781d8 /examples/build_system/make | |
| parent | 2a364ca272d8219f47aece3232aa2e9ab8738655 (diff) | |
chore: squash previous commits from other branches
Diffstat (limited to 'examples/build_system/make')
| -rw-r--r-- | examples/build_system/make/cpu/cortex-m55.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/build_system/make/cpu/cortex-m55.mk b/examples/build_system/make/cpu/cortex-m55.mk new file mode 100644 index 000000000..de627caed --- /dev/null +++ b/examples/build_system/make/cpu/cortex-m55.mk @@ -0,0 +1,28 @@ +ifeq ($(TOOLCHAIN),gcc) + CFLAGS += \ + -mthumb \ + -mcpu=cortex-m55 \ + -mfloat-abi=hard \ + -mfpu=fpv5-d16 \ + -mcmse + +else ifeq ($(TOOLCHAIN),clang) + CFLAGS += \ + --target=arm-none-eabi \ + -mcpu=cortex-m55 \ + -mfpu=fpv5-d16 \ + +else ifeq ($(TOOLCHAIN),iar) + CFLAGS += \ + --cpu cortex-m55 \ + --fpu VFPv5_D16 \ + + ASFLAGS += \ + --cpu cortex-m55 \ + --fpu VFPv5_D16 \ + +else + $(error "TOOLCHAIN is not supported") +endif + +FREERTOS_PORTABLE_SRC ?= $(FREERTOS_PORTABLE_PATH)/ARM_CM55_NTZ/non_secure |
