212 Commits

Author SHA1 Message Date
hathach
dffe9b335e
clean up host pipe api 2018-12-10 20:26:47 +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
0ae8a1aa89
remove pipe handle.dev_addr 2018-12-10 16:58:17 +07:00
hathach
a486da33ee
usbh clean up 2018-12-10 05:55:02 +07:00
hathach
a31f83dbb0
removing pipe handle 2018-12-10 05:44:08 +07:00
hathach
05913a7350
change usbh class driver open signature 2018-12-09 12:34:05 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED 2018-12-07 23:38:52 +07:00
hathach
e6e3679136
simple cdc host demo work 2018-12-07 17:37:54 +07:00
hathach
9b74f0e98f
add connect to cdc for testing 2018-12-07 15:07:00 +07:00
hathach
366ab79776
able to build host hid 2018-12-07 14:57:58 +07:00
hathach
89820a36a1 able to build with host msc 2018-12-07 12:56:42 +07:00
hathach
ac829c0a87 minor clean up 2018-12-06 22:56:58 +07:00
hathach
07c3fd5e1e clean up hub 2018-12-06 22:47:49 +07:00
hathach
7d3ff7aff6 rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC 2018-12-06 22:24:31 +07:00
hathach
5f7d7a34f5 able to complete enumeration with os none blocking 2018-12-06 00:38:00 +07:00
hathach
d96347a0f5
rename OPT_MCU_LPC13UXX to OPT_MCU_LPC13XX 2018-11-30 12:48:06 +07:00
hathach
8b03b6d3b4 add Auto descriptor endpoint num config to support lpc17xx
CFG_TUD_DESC_*_EPNUM
2018-11-28 16:10:31 +07:00
hathach
80ecf1fd54
add OPT_MODE_HIGH_SPEED 2018-11-26 14:56:07 +07:00
hathach
064eec5dd8
clean up warnings 2018-11-26 12:29:55 +07:00
Scott Shawcroft
47fabe42ed
One tweak to make -Wdiscarded-qualifiers happy. 2018-11-23 12:48:55 -08:00
hathach
394a22ecf7
remove pragma GCC diagnostic 2018-11-23 15:25:25 +07:00
hathach
f196b24dce
rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESS 2018-11-23 15:22:46 +07:00
hathach
a619ff88a3
rename xfer complete enum 2018-11-23 15:17:43 +07:00
hathach
cb8782e5f2
rename tusb_event_t to xfer_result_t 2018-11-23 15:14:47 +07:00
hathach
60d8cde695
rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION 2018-11-22 17:21:07 +07:00
hathach
4314be9aeb
msc device block count and block num
- replace CFG_TUD_MSC_BLOCK_NUM & CFG_TUD_MSC_BLOCK_SZ by
tud_msc_capacity_cb() (mandatory callback)
2018-11-22 12:11:06 +07:00
hathach
215f8603b1 nrf5x: refactor device control transfer.
- make control transfer as part of usbd. Class driver must use
usbd_control_ API() instead of dcd_ api.
- change the signature of class driver's control_request
- allow control request complete to stall in staus stage
- move control request parser & handling to usbd.
2018-11-16 21:56:39 +07:00
hathach
983225ae60
Merge pull request #7 from tannewt/tinyusb_samd
Add SAMD support and simplify OS_NONE
2018-11-14 15:36:12 +07:00
hathach
3fe7cd1659 added tud_cdc_write_str, tu_fifo only use mutex for RTOS config 2018-11-13 15:45:22 +07:00
Scott Shawcroft
299a2f12de
Support the no CDC protocol as well. 2018-11-09 11:32:59 -08:00
Scott Shawcroft
537a29273c
Exempt from strict warnings for struct packing and add MCU options 2018-11-09 00:10:44 -08:00
Scott Shawcroft
30e3c64134
Polish up control split and treat it more like a normal endpoint. 2018-11-08 13:45:30 -08:00
Scott Shawcroft
7a40ec2647
Split out the control endpoint logic 2018-11-07 23:04:34 -08:00
Scott Shawcroft
c582c0fda9
Add SAMD21 and SAMD51 support for CircuitPython.
The ProtoThreads style subtasks were removed because it led to
extremely unclear control flow. RTOSes can be used if threading is
needed.

Also added some additional functionality to MSC to support dynamic
LUNs and read-only LUNs.
2018-11-07 12:02:28 -08:00
hathach
cb9bcce6a2 use mutex for cdc device fifo 2018-11-02 18:40:47 +07:00
hathach
bfa10016ae rename verify_breakpoint to TU_BREAKPOINT 2018-10-24 12:37:43 +07:00
hathach
55427606ef replace dcd_xfer_complete by dcd_xfer_complete() 2018-10-24 00:44:26 +07:00
hathach
f339ac7a6a clean up msc device 2018-10-23 12:48:49 +07:00
hathach
c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00
hathach
33c61bfda2 comment out cdc flush on write (for now). Since it has issue with circuitpython 2018-10-05 21:35:40 +07:00
hathach
e623fc656d cdc flush on write() if queue more than epsize 2018-08-30 15:28:19 +07:00
hathach
61e4a8c3d3 remove CFG_TUD_CDC_FLUSH_ON_SOF option 2018-08-30 15:20:15 +07:00
hathach
bb2a8fcebf cdc device : rename epin_buf, epout_buf 2018-08-28 14:18:39 +07:00
hathach
b0d14e2e41 minor nrf52 driver correct 2018-08-28 13:15:03 +07:00
hathach
c5d2f661e7 rename common func to avoid conflict 2018-08-23 20:09:28 +07:00
hathach
d996bd5295 correct cdc line coding memory align 2018-08-15 17:57:33 +07:00
hathach
e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach
6d96b12e27 improve auto descriptor 2018-08-01 00:50:04 +07:00
hathach
9444d45af6 dev hid enhancement, add report descriptor templates for keyboard, mouse, consumer, syscontrol, gamepad 2018-07-31 23:10:50 +07:00