# set default port depending on operating system PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*))) # setup serial terminal BAUD ?= 9600 # flash tool configuration PROGRAMMER ?= goodfet GOODFET_FLAGS ?= --telosb PROGRAMMERS_SUPPORTED += goodfet