diff options
| author | tmk <nobody@nowhere> | 2012-09-04 13:29:21 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2012-09-04 13:29:21 +0900 |
| commit | 232ab308e358e41f3253d66fa009c1ebca0951a2 (patch) | |
| tree | 737827112555c00a7f2ebbb88e61079c460be71a /protocol | |
| parent | c77c5043a121f195b3a552feb8283424a0652ce2 (diff) | |
| download | qmk_firmware-232ab308e358e41f3253d66fa009c1ebca0951a2.tar.gz qmk_firmware-232ab308e358e41f3253d66fa009c1ebca0951a2.zip | |
usb_hid: workaround for compile on Windows.
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/usb_hid.mk | 6 | ||||
| -rwxr-xr-x[-rw-r--r--] | protocol/usb_hid/README | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/protocol/usb_hid.mk b/protocol/usb_hid.mk index f3149f7f4..fb4916d56 100644 --- a/protocol/usb_hid.mk +++ b/protocol/usb_hid.mk | |||
| @@ -65,3 +65,9 @@ VPATH += $(TOP_DIR)/$(ARDUINO_CORES_DIR) | |||
| 65 | 65 | ||
| 66 | # for #include "pins_arduino.h" | 66 | # for #include "pins_arduino.h" |
| 67 | VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo | 67 | VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo |
| 68 | |||
| 69 | # ad hoc workaround for compile problem on Windows: | ||
| 70 | # Windows doesn't know difference between common/print.h and arduino/Print.h. | ||
| 71 | # On Linux no problem. | ||
| 72 | # Change file name common/print.h to console.h ? | ||
| 73 | VPATH := $(TOP_DIR)/common $(VPATH) | ||
diff --git a/protocol/usb_hid/README b/protocol/usb_hid/README index 5d49cc8d2..1357a4c72 100644..100755 --- a/protocol/usb_hid/README +++ b/protocol/usb_hid/README | |||
| @@ -27,6 +27,11 @@ Restriction and Bug | |||
| 27 | ------------------- | 27 | ------------------- |
| 28 | Not statble yet. | 28 | Not statble yet. |
| 29 | 29 | ||
| 30 | Switching power on VBUS: | ||
| 31 | To power reset device. | ||
| 32 | http://www.circuitsathome.com/camera-control/simulating-cable-disconnect-on-usb-host-shield-2-0 | ||
| 33 | This is needed for a device which are not initilized with 'USB Bus Reset'(long SE0) | ||
| 34 | |||
| 30 | Can't bus-reset a keyboard which already attached on bus properly. | 35 | Can't bus-reset a keyboard which already attached on bus properly. |
| 31 | Slow start up of Leonardo's bootloader causes this? | 36 | Slow start up of Leonardo's bootloader causes this? |
| 32 | Need to unplug/plug a keyboard after firmware starts up. | 37 | Need to unplug/plug a keyboard after firmware starts up. |
| @@ -34,3 +39,8 @@ Can't bus-reset a keyboard which already attached on bus properly. | |||
| 34 | 39 | ||
| 35 | Keyboard with other endpoints than boot keyboard may go wrong. | 40 | Keyboard with other endpoints than boot keyboard may go wrong. |
| 36 | On my keyboard with mouse key the converter locks up when using mouse key function. | 41 | On my keyboard with mouse key the converter locks up when using mouse key function. |
| 42 | |||
| 43 | Can't compile on Windows filesystem. | ||
| 44 | On Linux no problem. | ||
| 45 | Windows doesn't know difference between common/print.h and arduino/Print.h. | ||
| 46 | Change file name common/print.h to console.h ? | ||
