mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
keyboard host work as proof of concept
This commit is contained in:
parent
35aee4a6af
commit
7828c396db
@ -53,6 +53,7 @@
|
|||||||
<folder Name="mcb1800">
|
<folder Name="mcb1800">
|
||||||
<file file_name="../../../../../hw/bsp/mcb1800/mcb1800.c" />
|
<file file_name="../../../../../hw/bsp/mcb1800/mcb1800.c" />
|
||||||
</folder>
|
</folder>
|
||||||
|
<file file_name="../../../../../hw/bsp/board.c" />
|
||||||
</folder>
|
</folder>
|
||||||
<folder Name="mcu">
|
<folder Name="mcu">
|
||||||
<folder Name="nxp">
|
<folder Name="nxp">
|
||||||
|
@ -58,7 +58,7 @@ int main(void)
|
|||||||
cdc_task();
|
cdc_task();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CFG_TUD_HID
|
#if CFG_TUH_HID_KEYBOARD || CFG_TUH_HID_MOUSE
|
||||||
hid_task();
|
hid_task();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -71,8 +71,8 @@
|
|||||||
|
|
||||||
#define CFG_TUH_HUB 0
|
#define CFG_TUH_HUB 0
|
||||||
#define CFG_TUH_CDC 1
|
#define CFG_TUH_CDC 1
|
||||||
#define CFG_TUH_HID_KEYBOARD 0
|
#define CFG_TUH_HID_KEYBOARD 1
|
||||||
#define CFG_TUH_HID_MOUSE 0
|
#define CFG_TUH_HID_MOUSE 1
|
||||||
#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
|
#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
|
||||||
#define CFG_TUH_MSC 1
|
#define CFG_TUH_MSC 1
|
||||||
#define CFG_TUH_VENDOR 0
|
#define CFG_TUH_VENDOR 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user