Permalink
Browse files

fix firmware to work with the astar

  • Loading branch information...
1 parent ebdc0ab commit dcf01dea265fff0559bb51b0e39aaca11a7990cb @tenderlove tenderlove committed with Jan 30, 2015
Showing with 6 additions and 0 deletions.
  1. +6 −0 keyboard/atreus/Makefile
View
@@ -38,6 +38,8 @@
# To rebuild project do "make clean" then "make all".
#----------------------------------------------------------------------------
+USB ?= /dev/cu.usbmodem1421
+
# Target file name (without extension).
TARGET = atreus
@@ -132,6 +134,10 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
VPATH += $(TARGET_DIR)
VPATH += $(TOP_DIR)
+upload: $(TARGET).hex
+ while [ ! -r $(USB) ]; do sleep 1; done; \
+ avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
+
include $(TOP_DIR)/protocol/lufa.mk
include $(TOP_DIR)/common.mk
include $(TOP_DIR)/rules.mk

0 comments on commit dcf01de

Please sign in to comment.