1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/saml1x/Makefile.include
Benjamin Valentin bd1953dd80 cpu/sam0_common: use vendor files to dispatch MCU headers
Instead of manually re-creating the files from ASF, just use
the vendor provided dispatch headers and ease the maintainance
burden.
2020-02-06 19:52:05 +01:00

12 lines
254 B
Makefile

CPU_ARCH = cortex-m23
ifneq (,$(filter saml10%,$(CPU_MODEL)))
CFLAGS += -DCPU_SAML10
endif
ifneq (,$(filter saml11%,$(CPU_MODEL)))
CFLAGS += -DCPU_SAML11
endif
include $(RIOTCPU)/sam0_common/Makefile.include
include $(RIOTMAKE)/arch/cortexm.inc.mk