1 2 3 4 5 6 7 8 9 10 11
# define the cpu used by the saml21 board export CPU = saml21 export CPU_MODEL = saml21j18a export CFLAGS += -D__SAML21J18A__ # setup serial terminal PORT_LINUX ?= /dev/ttyACM0 include $(RIOTBOARD)/Makefile.include.serial # this board uses openocd include $(RIOTBOARD)/Makefile.include.openocd