13 lines
469 B
Makefile
13 lines
469 B
Makefile
# the SmartRF06 Evaluation Board serial numbers all begin with "06EB":
|
|
PROGRAMMER_SERIAL ?= 06EB
|
|
|
|
# setup serial terminal
|
|
# the debug UART is always the second tty with the matching serial number:
|
|
PORT_LINUX ?= $(word 2,$(shell $(RIOTTOOLS)/usb-serial/find-tty.sh '^$(PROGRAMMER_SERIAL)'))
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
|
|
|
# setup emulator
|
|
include $(RIOTMAKE)/tools/renode.inc.mk
|
|
|
|
include $(RIOTBOARD)/common/cc2538/Makefile.include
|