summaryrefslogtreecommitdiff
path: root/hw/bsp/same5x
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-24 18:38:41 +0700
committerhathach <[email protected]>2023-06-24 18:38:41 +0700
commiteb7fcf1b7474fd75f43b2501586c8b6b03354d41 (patch)
treeb25e1753f335be3c9326cac17e986c39b2bf0aa6 /hw/bsp/same5x
parentb59b65d2ed0f6fa14b18b7bc233309d9b9710898 (diff)
add CPU_CORE for all family
Diffstat (limited to 'hw/bsp/same5x')
-rw-r--r--hw/bsp/same5x/family.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/hw/bsp/same5x/family.mk b/hw/bsp/same5x/family.mk
index df1af4a9d..691863f11 100644
--- a/hw/bsp/same5x/family.mk
+++ b/hw/bsp/same5x/family.mk
@@ -2,14 +2,11 @@ DEPS_SUBMODULES += hw/mcu/microchip
SDK_DIR = hw/mcu/microchip/$(MCU)
include $(TOP)/$(BOARD_PATH)/board.mk
+CPU_CORE ?= cortex-m4
CFLAGS += \
-mthumb \
- -mabi=aapcs \
-mlong-calls \
- -mcpu=cortex-m4 \
- -mfloat-abi=hard \
- -mfpu=fpv4-sp-d16 \
-nostdlib -nostartfiles \
-DCFG_TUSB_MCU=OPT_MCU_SAME5X
@@ -32,9 +29,6 @@ INC += \
$(TOP)/$(SDK_DIR)/hri \
$(TOP)/$(SDK_DIR)/CMSIS/Include
-# For freeRTOS port source
-FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/ARM_CM4F
-
# flash using edbg from https://github.com/ataradov/edbg
flash-edbg: $(BUILD)/$(PROJECT).bin
edbg --verbose -t $(MCU) -pv -f $<