2015-04-22 15:45:34 +02:00
|
|
|
# define the cpu used by SAMR21 Xplained Pro board
|
2014-09-09 11:12:39 +02:00
|
|
|
export CPU = samd21
|
|
|
|
export CPU_MODEL = samr21g18a
|
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
#
|
|
|
|
CFLAGS_OPT = -O0
|
2014-09-09 11:12:39 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
2014-09-09 11:12:39 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
#
|
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
2014-09-09 11:12:39 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-11-11 15:12:24 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2014-09-09 11:12:39 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# include cortex defaults
|
|
|
|
include $(RIOTBOARD)/Makefile.include.cortex_common
|