118 Commits

Author SHA1 Message Date
hathach
35aee4a6af more hid host work 2020-09-03 23:57:51 +07:00
hathach
c492aef4c7 revert to use float-abi
define __USE_CMSIS instead of __USE_LPCOPEN will have startup enable FPU
on startup properly. Although it is only relevant to lpx43/40 series,
change all to __USE_CMSIS for consistency
2020-09-02 00:46:08 +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
hathach
905a80d1b2 temporarily remove osal_task_delay() from osal
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
Nathan Conrad
25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach
03deeea465 fix segger host example 2019-11-22 00:33:10 +07:00
hathach
6a076d8aae rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR 2019-07-19 16:31:51 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00
hathach
f4762ff012 host fix address alloc when it reach max devices 2019-05-23 10:59:43 +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
e4e8413acc
add tusb_inited() API, check for inited() before running device/host task 2019-01-29 19:05:07 +07: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
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
5fd60e5761
clean up 2018-12-12 12:36:40 +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
e3514b8054
rename hcd_device_remove to hcd_device_close 2018-12-12 11:34:09 +07:00
hathach
67d6d753d6
replace all hcd pipe close by hcd_device_remove 2018-12-12 00:00:33 +07:00
hathach
600fac1845
fix build error with ohci 2018-12-11 16:18:56 +07:00
hathach
0d04e6eb96
rename to hcd_edpt_open() 2018-12-11 13:12:21 +07:00
hathach
b0717275c8
ehci periodic 2018-12-11 10:50:05 +07:00
hathach
7a626dbc8b
completely remove pipe handle for cdc/hub/ehci 2018-12-11 00:56:21 +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
5886ccdb03
ehci clean up 2018-12-10 20:16:26 +07:00
hathach
4e7596ca9c
add tuh_mount_cb/tuh_umount_cb 2018-12-10 19:25:57 +07:00
hathach
a486da33ee
usbh clean up 2018-12-10 05:55:02 +07:00
hathach
57233cead7
rename usbh_xfer_isr to hcd_event_xfer_complete 2018-12-10 05:47:33 +07:00
hathach
a31f83dbb0
removing pipe handle 2018-12-10 05:44:08 +07:00
hathach
75baedf27d
removing pipe handle, remove xfer type 2018-12-10 05:33:25 +07:00
hathach
8ef93ef85d
usbh remove class code in xfer isr callback 2018-12-10 05:19:08 +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
hathach
05913a7350
change usbh class driver open signature 2018-12-09 12:34:05 +07:00
hathach
637285e9ae
clean up ehci 2018-12-09 00:10:49 +07:00
hathach
f6f0910778
hub clean up 2018-12-08 20:56:56 +07:00
hathach
d3ac4c14a3
refactor hcd api 2018-12-08 20:51:48 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED 2018-12-07 23:38:52 +07:00
hathach
98dd0c4d4d
clean up 2018-12-07 23:28:51 +07:00
hathach
e4fd9fbaf4
seperate control xfer to 3 tds for ohci
- ohci only work with 1st transfer with specific timing. TODO fix it
later
2018-12-07 23:16:06 +07:00
hathach
6c49848d59
ohci got device not response condition in control transfer 2018-12-07 22:01:26 +07:00
hathach
2aa21a14e6
lpc17 ohci failed to execute control transfer !! 2018-12-07 18:49:26 +07:00
hathach
13d08cd636
adding new hcd api, tested working with control xfer.
- hcd_edpt_open
- hcd_edpt_xfer
- hcd_edpt_xfer
2018-12-07 17:31:35 +07:00
hathach
89820a36a1 able to build with host msc 2018-12-07 12:56:42 +07:00