usb_usb: Update for debug build

This commit is contained in:
tmk 2021-11-19 14:29:46 +09:00
parent 846a4a5323
commit ef29dcf1f0
3 changed files with 14 additions and 2 deletions

View file

@ -17,4 +17,8 @@ OPT_DEFS += -DDEBUG_USB_HOST
CONSOLE_ENABLE = yes
MOUSEKEY_ENABLE = no
EXTRAKEY_ENABLE = no
COMMAND_ENABLE = no
OPT_DEFS += -DNO_ACTION_TAPPING
OPT_DEFS += -DNO_ACTION_LAYER
OPT_DEFS += -DNO_ACTION_MACRO
include Makefile

View file

@ -44,6 +44,14 @@ In case of Leonardo push reset button then run command. Serial port name(COM17)
or
$ avrdude -patmega32u4 -cavr109 -b57600 -Uflash:w:usb_usb.hex -PCOM17
To build debug firmware use `master_debug` branch of `USB_Host_Shield_2.0-tmk` submodule
$ cd tmk_keyboard/tmk_core/protocol/usb_hid/USB_Host_Shield_2.0-tmk
$ git chceckout master_debug
$ cd tmk_keyboard/converter/usb_usb
$ make -f Makefile.debug
$ make -f Makefile.debug dfu
Limitation

View file

@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x005B
#define DEVICE_VER 0x0814
#define MANUFACTURER t.m.k.
#define DEVICE_VER 0x0815
#define MANUFACTURER TMK
#define PRODUCT USB to USB keyboard converter