hathach
e029d6d726
added host set_config driver
...
to resolve control conflict with SET_CONFIGURE for class driver
- open will be called to open endpoint only
- set_config called later to initialized class driver
2020-11-01 17:46:46 +07:00
hathach
3623f578a4
more clean up
2020-10-13 14:11:17 +07:00
hathach
d92d1a03ca
clean up
2020-10-13 13:45:22 +07:00
hathach
437ccac696
implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / tuh_msc_get_maxlun()
2020-10-13 13:23:33 +07:00
hathach
9c07a2a4e2
rework msc host
...
- msc host enum is now async
- implement async tuh_msc_scsi_command() / tuh_msc_request_sense() /
tuh_msc_test_unit_ready()
2020-10-13 00:07:51 +07:00
hathach
b3e81673c0
change xfer_cb return type from void to bool
2020-09-06 12:11:07 +07:00
hathach
f7cf8cdf27
defer xfer_isr to xfer_cb
2020-09-05 14:41:31 +07:00
hathach
ef651e0734
fix #449 remove obsolete pipehandle from hid host
2020-09-03 17:07:29 +07:00
hathach
84425c50b3
add more logging to host stack
...
tested host with lpc4357, don't use fpu with lpc m4 since it seems to
cause hardfault (stack does not make use of fpu anyway).
2020-09-01 19:16:50 +07:00
hathach
58cedf4c06
usb0 host on mcb1800 work with fullspeed mode.
...
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
Nathan Conrad
25c1bea782
Normalize line endings
2020-01-15 14:47:43 -05:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
454496316f
more endian convert
2019-05-14 13:06:38 +07:00
hathach
81fc7b7e2b
clean up endian convert function
2019-05-14 12:14:51 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
da452d4ba6
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
2019-03-27 17:48:42 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +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
67d6d753d6
replace all hcd pipe close by hcd_device_remove
2018-12-12 00:00:33 +07:00
hathach
dbc560658a
more hcd_pipe to hcd_edpt rename
2018-12-11 13:15:05 +07:00
hathach
0d04e6eb96
rename to hcd_edpt_open()
2018-12-11 13:12:21 +07:00
hathach
7c2056defb
remove pipe handle in host msc
2018-12-11 01:03:15 +07:00
hathach
e863c99a6f
fix msc host
2018-12-10 23:15:53 +07:00
hathach
212deaf2f8
usbh name change
2018-12-10 22:19:01 +07:00
hathach
9c3c782b64
host msc built but got hardfault with inquiry command
2018-12-10 22:11:02 +07:00
hathach
dffe9b335e
clean up host pipe api
2018-12-10 20:26:47 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
2018-12-07 23:38:52 +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
7d3ff7aff6
rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
2018-12-06 22:24:31 +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
c7340f4b0e
clean up helper func
2018-10-23 12:19:32 +07:00
hathach
f5b2912372
add tud_msc_set_sense(), update msc device to reponse with default sense (illegal request) when there is issue with scsi command
2018-07-26 15:59:13 +07:00
hathach
424735d440
rename subfolder source to src
2018-06-18 14:05:24 +07:00