# define the cpu used by the arduino due board export CPU = sam3x8e export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh export OFLAGS = -O binary # define the default port depending on the host OS PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbmodem* | head -n 1) # setup serial terminal include $(RIOTBOARD)/Makefile.include.serial # include cortex defaults include $(RIOTBOARD)/Makefile.include.cortex_common