1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/cc2538dk/Makefile.include
Francisco Molina 5811fab369
boards: use common Makefile.include for cc2538 boards
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2020-08-11 09:57:09 +02:00

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