summaryrefslogtreecommitdiff
path: root/hw/bsp/samd11
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/samd11
parentb59b65d2ed0f6fa14b18b7bc233309d9b9710898 (diff)
add CPU_CORE for all family
Diffstat (limited to 'hw/bsp/samd11')
-rw-r--r--hw/bsp/samd11/family.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/bsp/samd11/family.mk b/hw/bsp/samd11/family.mk
index a2a5268aa..43a60a122 100644
--- a/hw/bsp/samd11/family.mk
+++ b/hw/bsp/samd11/family.mk
@@ -1,11 +1,10 @@
DEPS_SUBMODULES += hw/mcu/microchip
include $(TOP)/$(BOARD_PATH)/board.mk
+CPU_CORE ?= cortex-m0plus
CFLAGS += \
-mthumb \
- -mabi=aapcs \
- -mcpu=cortex-m0plus \
-nostdlib -nostartfiles \
-DCONF_DFLL_OVERWRITE_CALIBRATION=0 \
-DOSC32K_OVERWRITE_CALIBRATION=0 \
@@ -40,6 +39,3 @@ INC += \
$(TOP)/hw/mcu/microchip/samd11/hri \
$(TOP)/hw/mcu/microchip/samd11/CMSIS/Include \
$(TOP)/hw/mcu/microchip/samd11/CMSIS/Core/Include
-
-# For freeRTOS port source
-FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/ARM_CM0