mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
11 lines
354 B
Makefile
11 lines
354 B
Makefile
# set default port depending on operating system
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# setup flash tool
|
|
FLASHER = $(RIOTTOOLS)/goodfet/goodfet.bsl
|
|
FLASHFILE ?= $(HEXFILE)
|
|
FFLAGS = --z1 -I -c $(PROG_DEV) -r -e -p $(FLASHFILE)
|