summaryrefslogtreecommitdiff
path: root/hw/bsp/samd21
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/samd21
parentb59b65d2ed0f6fa14b18b7bc233309d9b9710898 (diff)
add CPU_CORE for all family
Diffstat (limited to 'hw/bsp/samd21')
-rw-r--r--hw/bsp/samd21/family.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/bsp/samd21/family.mk b/hw/bsp/samd21/family.mk
index 30eccacb2..49a1a781a 100644
--- a/hw/bsp/samd21/family.mk
+++ b/hw/bsp/samd21/family.mk
@@ -2,12 +2,10 @@ UF2_FAMILY_ID = 0x68ed2b88
DEPS_SUBMODULES += hw/mcu/microchip
include $(TOP)/$(BOARD_PATH)/board.mk
+CPU_CORE ?= cortex-m0plus
CFLAGS += \
-flto \
- -mthumb \
- -mabi=aapcs \
- -mcpu=cortex-m0plus \
-nostdlib -nostartfiles \
-DCONF_DFLL_OVERWRITE_CALIBRATION=0 \
-DCFG_TUSB_MCU=OPT_MCU_SAMD21
@@ -39,9 +37,6 @@ INC += \
$(TOP)/hw/mcu/microchip/samd21/hri \
$(TOP)/hw/mcu/microchip/samd21/CMSIS/Include
-# For freeRTOS port source
-FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/ARM_CM0
-
# flash using bossac at least version 1.8
# can be found in arduino15/packages/arduino/tools/bossac/
# Add it to your PATH or change BOSSAC variable to match your installation