hathach
|
1174949308
|
change tud_descriptor_string_cb() to be consistent with other descriptor callback
|
2019-05-12 15:38:15 +07:00 |
|
hathach
|
ba2136486c
|
add tud_hid_descriptor_report_cb()
- remove tud_desc_set.hid_report
- remove tud_desc_set_t
|
2019-05-12 14:09:35 +07:00 |
|
hathach
|
de56a0ca89
|
add tud_descriptor_string_cb() for getting string descriptor from application
- remove tud_desc_set.string_arr/string_count
|
2019-05-11 16:31:52 +07:00 |
|
hathach
|
77bc421359
|
fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52
|
2019-05-09 23:31:18 +07:00 |
|
hathach
|
f9d9eebfe1
|
support hid generic inout #58
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
|
2019-05-02 14:30:49 +07:00 |
|
hathach
|
c006f3dbce
|
adding optional ep out for hid
refactor usbd_open_edpt_pair
|
2019-05-01 19:29:56 +07:00 |
|
hathach
|
ff8fe28c98
|
move interface descriptor template to usbd.h, update exmaple
|
2019-04-19 13:16:06 +07:00 |
|
hathach
|
23bcf1cc7a
|
remove auto descriptor and its option CFG_TUD_DESC_AUTO
|
2019-04-18 23:59:21 +07:00 |
|
hathach
|
307ba23046
|
wrap up hid device refactor
|
2019-04-18 22:31:35 +07:00 |
|
hathach
|
1ffcadd373
|
hid update
|
2019-04-18 11:52:23 +07:00 |
|
hathach
|
cc2fce31e5
|
refactor hid, rename hid_generic to simply hid_
|
2019-04-18 00:36:17 +07:00 |
|
hathach
|
72575534f8
|
remove auto device descriptor
Application should declare its own device descriptor
|
2019-04-11 00:51:28 +07:00 |
|
hathach
|
6102183193
|
clean up
|
2019-04-11 00:22:18 +07:00 |
|
hathach
|
491b5936d5
|
usbd better support suspend/resume
|
2019-04-02 01:30:01 +07:00 |
|
hathach
|
eabfc53f38
|
added tud_suspended() and tud_ready()
|
2019-03-30 23:01:23 +07:00 |
|
hathach
|
f3a954e7de
|
self powered and remote wakeup support are from configuration descriptor attribute
|
2019-03-30 17:38:00 +07:00 |
|
hathach
|
ee6ed084f4
|
clean up text
|
2019-03-30 15:03:48 +07:00 |
|
hathach
|
b28cc6ddb1
|
added dcd_remote_wakeup() stub for all ports
|
2019-03-30 14:47:11 +07:00 |
|
hathach
|
cabf6abb4f
|
added tud_set_self_powered(), fix #50 reponse to GET_STATUS request
|
2019-03-30 14:34:38 +07:00 |
|
hathach
|
d9682f8240
|
replaced config_num by configured
|
2019-03-30 13:48:15 +07:00 |
|
hathach
|
93a853cd5b
|
usbd add connected, suspended, remote_wakeup
- remove use of osal_queue_reset
|
2019-03-30 02:26:15 +07:00 |
|
hathach
|
28610198df
|
clean up
|
2019-03-29 17:42:10 +07:00 |
|
hathach
|
7d9b68a7b9
|
clean up control req a bit
|
2019-03-29 16:55:58 +07:00 |
|
hathach
|
3a38cde53d
|
support set/clear feature Device_remote_wakeup
|
2019-03-29 16:37:08 +07:00 |
|
hathach
|
1c2beba85c
|
working on suspend and resume
change dcd_init signature
|
2019-03-29 16:23:00 +07:00 |
|
hathach
|
0bdd4bd550
|
added Suspend and Resume event for nrf5x port
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
|
2019-03-29 01:34:53 +07:00 |
|
hathach
|
8fb9fbb0b1
|
add tud_mounted() check in tud_cdc_connected()
mark device as disconnected immed with DCD_EVENT_UNPLUGGED
|
2019-03-27 23:58:24 +07:00 |
|
hathach
|
da452d4ba6
|
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
|
2019-03-27 17:48:42 +07:00 |
|
hathach
|
f26fbaf404
|
clean up remove usbd_control_stall()
|
2019-03-27 16:26:52 +07:00 |
|
hathach
|
1e9848d917
|
replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stall
- remove dcd_edpt_stalled() from dcd porting
|
2019-03-27 16:09:49 +07:00 |
|
hathach
|
4722376654
|
remove dcd_get_frame_number()
|
2019-03-27 01:01:48 +07:00 |
|
hathach
|
43eb1a8b16
|
added stub for dcd_stm32f3
|
2019-03-22 23:57:56 +07:00 |
|
hathach
|
c211ee19dd
|
migrate license from BSD 3 clause to MIT
|
2019-03-20 16:11:42 +07:00 |
|
hathach
|
eda56769b9
|
dcd_set_address include status response, usbd control stall both control in and out
|
2019-03-13 23:14:48 +07:00 |
|
hathach
|
59c1b4b427
|
zero init internal class/device data
|
2019-01-29 19:39:34 +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
|
6f17b4e019
|
change to dcd_get_frame_number
|
2018-12-21 12:46:20 +07:00 |
|
hathach
|
902697ca07
|
add dcd_get_microframe()
|
2018-12-17 12:14:11 +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
|
af1ffe4675
|
remove task void* param
|
2018-12-13 13:53:43 +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
|
c1c501e0c2
|
change usbd xfer_cb return type to bool
|
2018-12-12 13:12:06 +07:00 |
|
hathach
|
b6cb4757d2
|
change class driver open return type to bool
|
2018-12-12 13:00:59 +07:00 |
|
hathach
|
6c0b0917e1
|
rename descriptor_* helper to tu_desc_*
|
2018-12-12 12:01:15 +07:00 |
|
hathach
|
6d86db3977
|
rename edpt_dir/number/addr to tu_edpt_*
|
2018-12-12 11:51:31 +07:00 |
|
hathach
|
4e7596ca9c
|
add tuh_mount_cb/tuh_umount_cb
|
2018-12-10 19:25:57 +07:00 |
|
hathach
|
9c4c797502
|
add ep addr to host cdc
|
2018-12-10 19:01:28 +07:00 |
|
hathach
|
ac67e0ea3f
|
clean up
|
2018-12-10 05:15:49 +07:00 |
|
hathach
|
6a6e7d0ecb
|
refactor usbh class driver
|
2018-12-10 05:07:22 +07:00 |
|