boards/samr21-xpro: define serial port for OS X
This commit is contained in:
parent
4b6626f8b2
commit
36d3d9c4cd
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user