summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJerry Palacios <[email protected]>2024-02-08 11:10:10 -0600
committerJerry Palacios <[email protected]>2024-02-08 11:10:10 -0600
commitb9c6b22165ce1912ec40b808570e13756e8faf4e (patch)
treee6d33d1e35bde3f2ca09121b519a1e823e547b15 /hw
parent45454c53f1d429a314115701ba2360591b811f50 (diff)
cortex m33+nodsp+nofpu make file created
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/mcxa/boards/frdmmcxa153/board.mk13
-rw-r--r--hw/bsp/mcxa/family.mk2
2 files changed, 1 insertions, 14 deletions
diff --git a/hw/bsp/mcxa/boards/frdmmcxa153/board.mk b/hw/bsp/mcxa/boards/frdmmcxa153/board.mk
index e8797cd95..18f7e3cb5 100644
--- a/hw/bsp/mcxa/boards/frdmmcxa153/board.mk
+++ b/hw/bsp/mcxa/boards/frdmmcxa153/board.mk
@@ -4,19 +4,6 @@ PORT = 0
CFLAGS += \
-DCPU_MCXA153VLH \
- -DCPU_MCXA153VLH_cm33_nodsp \
- -DPRINTF_FLOAT_ENABLE=0 \
- -DSCANF_FLOAT_ENABLE=0 \
- -DPRINTF_ADVANCED_ENABLE=0 \
- -DSCANF_ADVANCED_ENABLE=0 \
- -mcpu=cortex-m33+nodsp+nofp+nosimd
-
-#FORCING NOT TO USE DPS AND FPU UNITS (THIS CHIP DOESN'T HAVE)
-CFLAGS += -D__SOFTFP__
-# Undefine __ARM_FEATURE_DSP if it's already defined
-CFLAGS += -U__ARM_FEATURE_DSP
-# Define __ARM_FEATURE_DSP with the new value
-CFLAGS += -D__ARM_FEATURE_DSP=0
JLINK_DEVICE = MCXA153
diff --git a/hw/bsp/mcxa/family.mk b/hw/bsp/mcxa/family.mk
index b32282d04..87ae92fab 100644
--- a/hw/bsp/mcxa/family.mk
+++ b/hw/bsp/mcxa/family.mk
@@ -4,7 +4,7 @@ SDK_DIR = hw/mcu/nxp/mcux-sdk
DEPS_SUBMODULES += $(SDK_DIR) lib/CMSIS_5 #not found
include $(TOP)/$(BOARD_PATH)/board.mk
-CPU_CORE ?= cortex-m33
+CPU_CORE ?= cortex-m33-nodsp-nofp
CFLAGS += \
-flto \