boards/mulle: mulle boards' serial port is derived from its serial nr
This commit is contained in:
parent
ceab9bd9c3
commit
d25fb8a8a8
@ -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),)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user