2015-04-16 08:33:35 +02:00
|
|
|
# define the cpu used by the saml21 board
|
|
|
|
export CPU = saml21
|
2015-05-26 21:32:51 +02:00
|
|
|
export CPU_MODEL = saml21j18a
|
2015-04-16 08:33:35 +02:00
|
|
|
export CFLAGS += -D__SAML21J18A__
|
|
|
|
|
2015-05-26 21:32:51 +02:00
|
|
|
# include dependencies
|
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
2015-04-16 08:33:35 +02:00
|
|
|
|
2015-05-26 21:32:51 +02:00
|
|
|
# setup serial terminal
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2015-04-16 08:33:35 +02:00
|
|
|
|
2015-05-26 21:32:51 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2015-04-16 08:33:35 +02:00
|
|
|
|
2015-05-26 21:32:51 +02:00
|
|
|
# include cortex defaults
|
2015-05-28 15:09:17 +02:00
|
|
|
include $(RIOTBOARD)/Makefile.include.cortexm_common
|