diff options
| author | Rbb666 <[email protected]> | 2024-05-23 15:48:21 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-05-24 16:51:22 +0800 |
| commit | 2c880012f7904cc19c73e4e246214b75e61a44df (patch) | |
| tree | 73b99e235b7935b4ffe9bb6b3ae78b76ac04aa9b /lib/rt-thread/SConscript | |
| parent | 1f259b3ab0f1b9587dee9c0bfb5574d70d021640 (diff) | |
[osal]Add usb-device and host macro controls.
Diffstat (limited to 'lib/rt-thread/SConscript')
| -rw-r--r-- | lib/rt-thread/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rt-thread/SConscript b/lib/rt-thread/SConscript index 482f6d7b2..34399fd45 100644 --- a/lib/rt-thread/SConscript +++ b/lib/rt-thread/SConscript @@ -34,6 +34,8 @@ if GetDepend(["PKG_TINYUSB_DEVICE_ENABLE"]): src += ["../../src/class/cdc/cdc_device.c"] if GetDepend(["PKG_TINYUSB_DEVICE_MSC"]): src += ["../../src/class/msc/msc_device.c", "port/msc_device_port.c"] + if GetDepend(["PKG_TINYUSB_DEVICE_HID"]): + src += ["../../src/class/hid/hid_device.c"] # for host stack if GetDepend(["PKG_TINYUSB_HOST_ENABLE"]): |
