mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18 lines
502 B
Makefile
18 lines
502 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
|
|
|
|
# include cortex defaults
|
|
include $(RIOTBOARD)/Makefile.include.cortexm_common
|