diff --git a/Makefile b/Makefile index 8d6b8010..c9392f24 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BOARD = model01 MCU = atmega32u4 -DEVICE_PORT = /dev/cu.usbmodemHIDO1 +DEVICE_PORT := `ls /dev/cu.usbmodemHID??` DEVICE_PORT_BOOTLOADER := `ls /dev/cu.usbmodem14?1` ARDUINO_LIBS = GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)