X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=protocol%2Fusb_hid.mk;h=6914dce809ed77f4c28088c74198e7a1ca9d1106;hb=f6f698dda0a1cc9e92b75927b0273205402de9e2;hp=f3149f7f4bced040778ac00bfba8501f358db359;hpb=c5060ea81942b0e3f8577536ff78402a19abe3d3;p=tmk_firmware.git diff --git a/protocol/usb_hid.mk b/protocol/usb_hid.mk index f3149f7..6914dce 100644 --- a/protocol/usb_hid.mk +++ b/protocol/usb_hid.mk @@ -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)