]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/usb_hid.mk
usb_usb: Update for new core layout
[tmk_firmware.git] / protocol / usb_hid.mk
index f3149f7f4bced040778ac00bfba8501f358db359..6914dce809ed77f4c28088c74198e7a1ca9d1106 100644 (file)
@@ -42,7 +42,7 @@ SRC += $(USB_HID_DIR)/override_Serial.cpp
 
 # replace arduino/wiring.c
 SRC += $(USB_HID_DIR)/override_wiring.c
-SRC += common/timer.c
+SRC += common/avr/timer.c
 
 SRC += $(USB_HOST_SHIELD_SRC)
 SRC += $(ARDUINO_CORES_SRC)
@@ -65,3 +65,9 @@ VPATH += $(TOP_DIR)/$(ARDUINO_CORES_DIR)
 
 # for #include "pins_arduino.h"
 VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo
+
+# ad hoc workaround for compile problem on Windows:
+#    Windows doesn't know difference between common/print.h and arduino/Print.h.
+#    On Linux no problem.
+#    Change file name common/print.h to console.h ?
+VPATH := $(TOP_DIR)/common $(VPATH)