Skip to content
Snippets Groups Projects
Commit d25fb8a8 authored by Thomas Eichinger's avatar Thomas Eichinger
Browse files

boards/mulle: mulle boards' serial port is derived from its serial nr

parent ceab9bd9
Branches
No related tags found
No related merge requests found
......@@ -82,7 +82,11 @@ ifeq ($(PORT),)
PORT := $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh)
endif
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
ifeq ($(PORT),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment