diff options
| author | Ha Thach <[email protected]> | 2025-06-12 21:50:23 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-12 21:50:23 +0700 |
| commit | 99b4ebeb10535e7a10cdfcac29723286b7bc4f0d (patch) | |
| tree | 4a42611449e2adcf33c0947b6c8074a83cfb3edc /examples/build_system/make | |
| parent | 170de855a36dd329911e53e1e9e29fb161867821 (diff) | |
| parent | 7d66a3e7758665138f495b5d9174c1874332ce1a (diff) | |
Merge pull request #3140 from james-advatek/stm32n657nucleo
Add STM32N657 Nucleo Board support
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 |
