From 3a67f2d25f24c585fc7d5a6d588fc66cc731639a Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 31 Jan 2016 17:23:34 -0800 Subject: [PATCH] Quick makefile hack to find the "correct" port for a keyboard. This is a totally reasonable thing to do while this firmware is in development by a single developer on a single host and is completely insane for any sort of production usage --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4732f865..8d6b8010 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ BOARD = model01 MCU = atmega32u4 DEVICE_PORT = /dev/cu.usbmodemHIDO1 -DEVICE_PORT_BOOTLOADER = /dev/cu.usbmodem1421 +DEVICE_PORT_BOOTLOADER := `ls /dev/cu.usbmodem14?1` ARDUINO_LIBS = GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)