From 56b471c587e6adf1b32b3542abdd9fd57d44badf Mon Sep 17 00:00:00 2001 From: Ian Martin Date: Fri, 4 Mar 2016 13:56:24 -0500 Subject: [PATCH] boards/cc2538dk: autodetect PORT_LINUX. --- boards/cc2538dk/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/cc2538dk/Makefile.include b/boards/cc2538dk/Makefile.include index 22796de1ee..90306a9450 100644 --- a/boards/cc2538dk/Makefile.include +++ b/boards/cc2538dk/Makefile.include @@ -3,7 +3,7 @@ export CPU = cc2538 export CPU_MODEL ?= cc2538nf53 # setup serial terminal -export PORT ?= /dev/ttyUSB1 +PORT_LINUX ?= $(firstword $(wildcard /dev/serial/by-id/*XDS100v3*if01* /dev/ttyUSB1)) include $(RIOTBOARD)/Makefile.include.serial # debugger config