boards/samr21-xpro: define serial port for OS X

This commit is contained in:
Thomas Eichinger 2015-09-21 15:04:07 +02:00
parent 4b6626f8b2
commit 36d3d9c4cd

View File

@ -4,6 +4,7 @@ export CPU_MODEL = samr21g18a
# set default port depending on operating system # set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0 PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbmodem* | head -n 1)
# setup the boards dependencies # setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep include $(RIOTBOARD)/$(BOARD)/Makefile.dep