Skip to content
Snippets Groups Projects
Commit ac724f00 authored by kYc0o's avatar kYc0o
Browse files

Merge pull request #4435 from thomaseichinger/pr/mulle_serial_port_osx

boards/mulle: mulle boards' serial port is derived from its serial nr
parents cedf7d84 d25fb8a8
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,11 @@ ifeq ($(PORT),) ...@@ -82,7 +82,11 @@ ifeq ($(PORT),)
PORT := $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh) PORT := $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh)
endif endif
else ifeq ($(OS),Darwin) else ifeq ($(OS),Darwin)
PORT := $(firstword $(sort $(wildcard /dev/tty.usbserial*))) ifneq ($(PROGRAMMER_SERIAL),)
PORT := /dev/tty.usbserial-$(PROGRAMMER_SERIAL)B
else
PORT := $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
endif
endif endif
endif endif
ifeq ($(PORT),) ifeq ($(PORT),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment