RIOT/boards/arduino-due/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
505 B
Makefile

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