# set default port depending on operating system PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*))) # setup serial terminal export BAUD ?= 9600 include $(RIOTMAKE)/tools/serial.inc.mk # flash tool configuration FLASHER = $(RIOTTOOLS)/goodfet/goodfet.bsl FLASHFILE ?= $(HEXFILE) FFLAGS = --telosb -c $(PROG_DEV) -r -e -I -p $(FLASHFILE)