hathach
4795cca04a
add parse config descriptor to example
...
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-19 00:43:31 +07:00
hathach
a5fb20533c
adding tusb_private.h to implement common edpt claim
2022-03-09 17:17:36 +07:00
hathach
31aa077cb0
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
2022-02-25 18:35:21 +07:00
hathach
d10326cb4e
rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
...
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
Ha Thach
379537cb6d
Merge branch 'master' into add_uvc
2021-10-12 22:01:02 +07:00
hathach
431650fb7d
Merge branch 'j4cbo-ncm' into majbthrd-add_ncm
2021-10-05 16:32:37 +07:00
hathach
a867d87072
rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS
2021-10-05 16:00:07 +07:00
kkitayam
97d5d1e491
add files for video class device
2021-09-29 21:23:14 +09:00
hathach
3960beece0
rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFU
2021-07-15 20:52:58 +07:00
Jeremiah McCarthy
ce59d69520
Merge remote-tracking branch 'official/master'
2021-05-25 09:27:35 -04:00
hathach
a5cd81a226
correct hid host mount/unmount callback
...
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18 12:58:24 +07:00
Jeremiah McCarthy
01661b3f28
Replace dfu_mode with dfu
2021-04-22 14:56:52 -04:00
Jeremiah McCarthy
7b45b38fe4
Remove DFU mode and rt
2021-04-12 11:17:01 -04:00
Jeremiah McCarthy
c39b7b8177
Add DFU runtime and mode "class"
...
With the runtime and mode portions in separate classes, a single
application should only be building with one or the other enabled. In
some applications both might be desired at build time.
The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks
the application which mode to initialize to. This allows a runtime
change between RT and DFU mode, by just reinitializing tusb.
2021-04-05 17:52:33 -04:00
Jeremiah McCarthy
c5b8ef1529
Separate DFU RT and Mode. Untested
2021-04-05 16:32:58 -04:00
hathach
e12c25ec2c
rename dfu_rt to dfu_runtime for easy reading
...
also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
2021-02-11 12:05:22 +07:00
Jacob Potter
bb0df2740e
Add CDC NCM driver
2020-11-04 20:51:57 -07:00
Reinhard Panhuber
e047fbe8fb
Merge remote-tracking branch 'upstream/master' into uac2
2020-07-25 14:26:24 +02:00
hathach
503c15217e
example to call tud_init() after freeRTOS kernel is started
...
add note for usb init when using with RTOS
2020-07-23 09:20:45 +07:00
Reinhard Panhuber
1af77233ed
Merge branch 'master' of https://github.com/PanRe/tinyusb.git into uac2
2020-06-20 10:53:09 +02:00
Jerzy Kasenberg
56d46483e4
Add bt hci device class
...
Code implements USB transport for bluetooth HCI.
2020-05-28 10:58:49 +02:00
Reinhard Panhuber
9be2f1bf3d
Add basic UAC2 structure - untested
2020-05-22 12:09:34 +02:00
Peter Lawrence
fee79d7466
add CDC-ECM/RNDIS/CDC-EEM network device class with example
2020-03-02 21:15:01 -06:00
Nathan Conrad
25c1bea782
Normalize line endings
2020-01-15 14:47:43 -05:00
Sylvain Munaut
ec4ecfa817
Add support for DFU Runtime class for devices
...
This is really just a few descriptors and then answering to the
request from the host to reboot into DFU mode.
That latter part is delegated to the app since this is platform
specific.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
Nathan Conrad
1cae96951f
Add usbtmc class driver.
2019-09-14 13:35:08 -04:00
hathach
a3cb2dda9e
rename custom/custom-_* to vendor/vendor_*
2019-07-19 16:37:28 +07:00
hathach
6a076d8aae
rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR
2019-07-19 16:31:51 +07:00
hathach
b0678e1050
rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDOR
2019-07-19 16:23:56 +07:00
hathach
3e24daac79
remove deprecated tusb_task, clean up tusb compiler
2019-05-14 12:03:06 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
18f248b142
remove tusb_hal_millis() usage, less work for porting
2019-03-24 01:19:32 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
e4e8413acc
add tusb_inited() API, check for inited() before running device/host task
2019-01-29 19:05:07 +07:00
Scott Shawcroft
a3173b8de4
Add USB Midi support.
...
It also introduces a txbuffer which copies data into it but passes
the buffer straight to the USB rather than another copy.
2019-01-04 12:16:27 -08:00
hathach
a3713f801d
clean up compiler attribute
2018-12-14 13:08:21 +07:00
hathach
1c49c479ca
seperate tusb_task() to tud_task() and tuh_task()
...
tusb_task() still exists for backward compatible
2018-12-13 14:51:37 +07:00
hathach
bc46dc6edf
osal clean up
...
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task
and call tinyusb_task(). This make API consistent with NO OS.
2018-12-13 13:49:09 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
2018-12-07 23:38:52 +07:00
hathach
7d3ff7aff6
rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
2018-12-06 22:24:31 +07:00
hathach
d887829b4c
change usbd_init() return to bool for simplicity
2018-12-05 17:30:04 +07:00
hathach
2708632a6a
clean up osal
2018-11-02 17:26:35 +07:00
hathach
9f61493020
change HID config, move HID boot config to part of auto descriptor only
2018-07-28 12:38:45 +07:00
hathach
4342325ee1
reworking device hid class driver
2018-07-23 15:25:45 +07:00
hathach
424735d440
rename subfolder source to src
2018-06-18 14:05:24 +07:00