2015-09-16 17:19:22 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*)))
|
2015-09-16 17:19:22 +02:00
|
|
|
# setup serial terminal
|
2016-03-31 17:00:30 +02:00
|
|
|
export BAUD ?= 9600
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
2013-08-19 18:58:45 +02:00
|
|
|
|
2015-09-16 17:19:22 +02:00
|
|
|
# flash tool configuration
|
2019-05-17 13:52:34 +02:00
|
|
|
FLASHER = $(RIOTTOOLS)/goodfet/goodfet.bsl
|
2018-12-19 19:29:33 +01:00
|
|
|
FLASHFILE ?= $(HEXFILE)
|
2019-10-15 14:29:51 +02:00
|
|
|
FFLAGS = --telosb -c $(PROG_DEV) -r -e -I -p $(FLASHFILE)
|