1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 12:03:52 +01:00

Merge pull request #3359 from gebart/pr/mulle-port-default-fallback

boards/mulle: Add fallback for PORT
This commit is contained in:
Thomas Eichinger 2015-07-13 13:01:55 +02:00
commit 5f15e69c7c

View File

@ -85,6 +85,10 @@ ifeq ($(PORT),)
PORT := $(shell ls -1 /dev/tty.usbserial* | head -n 1)
endif
endif
ifeq ($(PORT),)
# fall back to a sensible default
PORT := /dev/ttyUSB0
endif
# We need special handling of the watchdog if we want to speed up the flash
# verification by using the MCU to compute the image checksum after flashing.