18 lines
538 B
Makefile
18 lines
538 B
Makefile
# define the cpu used by the arduino due board
|
|
export CPU = sam3
|
|
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
|
|
|
|
# export board specific includes to the global includes-listing
|
|
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|