keyboard host work as proof of concept
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
<folder Name="mcb1800">
|
||||
<file file_name="../../../../../hw/bsp/mcb1800/mcb1800.c" />
|
||||
</folder>
|
||||
<file file_name="../../../../../hw/bsp/board.c" />
|
||||
</folder>
|
||||
<folder Name="mcu">
|
||||
<folder Name="nxp">
|
||||
|
@@ -58,7 +58,7 @@ int main(void)
|
||||
cdc_task();
|
||||
#endif
|
||||
|
||||
#if CFG_TUD_HID
|
||||
#if CFG_TUH_HID_KEYBOARD || CFG_TUH_HID_MOUSE
|
||||
hid_task();
|
||||
#endif
|
||||
}
|
||||
|
@@ -71,8 +71,8 @@
|
||||
|
||||
#define CFG_TUH_HUB 0
|
||||
#define CFG_TUH_CDC 1
|
||||
#define CFG_TUH_HID_KEYBOARD 0
|
||||
#define CFG_TUH_HID_MOUSE 0
|
||||
#define CFG_TUH_HID_KEYBOARD 1
|
||||
#define CFG_TUH_HID_MOUSE 1
|
||||
#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
|
||||
#define CFG_TUH_MSC 1
|
||||
#define CFG_TUH_VENDOR 0
|
||||
|
Reference in New Issue
Block a user