1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/saml21-xpro/Makefile.include
Hauke Petersen 49dcb692d1 boards: adapted Makefiles to cortexm_common folder
- changed naming of cortexm_common in makefiles
- included some minor cleanups
2015-05-28 19:30:07 +02:00

18 lines
443 B
Makefile

# define the cpu used by the saml21 board
export CPU = saml21
export CPU_MODEL = saml21j18a
export CFLAGS += -D__SAML21J18A__
# include dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup serial terminal
PORT_LINUX ?= /dev/ttyACM0
include $(RIOTBOARD)/Makefile.include.serial
# this board uses openocd
include $(RIOTBOARD)/Makefile.include.openocd
# include cortex defaults
include $(RIOTBOARD)/Makefile.include.cortexm_common