2014-05-05 21:38:59 +02:00
|
|
|
# define the cpu used by the udoo board
|
2015-06-12 13:12:33 +02:00
|
|
|
export CPU = sam3
|
|
|
|
export CPU_MODEL = sam3x8e
|
2014-05-05 21:38:59 +02:00
|
|
|
|
2017-05-17 11:56:41 +02:00
|
|
|
# define the default port depending on host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
2014-11-18 18:11:25 +01:00
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# setup serial terminal
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
2017-05-17 11:56:41 +02:00
|
|
|
|
|
|
|
# setup the flash tool (BOSSA)
|
|
|
|
export BOSSA_ARDUINO_PREFLASH = yes
|
|
|
|
include $(RIOTMAKE)/tools/bossa.inc.mk
|