18 Commits

Author SHA1 Message Date
hathach
327519a5a6 refractor test
try to add travis-ci
2013-05-09 13:48:11 +07:00
hathach
e401372c05 rename ehci_controller to ehci_controller_fake 2013-05-09 13:05:48 +07:00
hathach
120db28a17 change format of file header & license spacing 2013-05-06 12:50:19 +07:00
hathach
a493fab753 separate fake ehci's run async & period list
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t*
fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head)
- change period list structure
limit the maximum polling interval to 256 ms
add max_loop static MAX number of iteration for list_find_previous_item
add test for close 256ms polling interrupt
2013-04-21 15:09:54 +07:00
hathach
357888a5e5 rename nxp_sof_received to nxp_int_sof
implementing freeRTOS integration
change get_period_frame_list from using lst_idx to hostid (fix bug)
adding polling interval supported for interrupt: 1ms, 2ms, 4ms, 8ms
- add interval_ms to get_period_head function
- add bInterval to qhd_init
- add support for sub-frame (less than 8 micro frames) interval
- add bunch of test for interrupt different intervals
2013-04-21 00:28:25 +07:00
hathach
b5f7e48ad4 refractor 2013-04-05 14:52:33 +07:00
hathach
d616fa6c10 continue on refratoring 2013-04-05 14:26:28 +07:00
hathach
56cd8be75e change website from tinyusb.net to tinyusb.org 2013-03-25 11:46:30 +07:00
hathach
92c137243d refractor
- rename usbh_device_info_pool to usbh_devices
- create a struct for control pipe in usbh_device_info_t
2013-03-24 16:44:59 +07:00
hathach
1a932e7437 refractor ehci test files
adding some code for async_advance_isr
add test for async_advance_isr
2013-03-13 12:25:27 +07:00
hathach
c1848b8114 add code for ehci interrupt handler
- interrupt source identifying
- for async list process
refractor control_xfer to use insert_qtd_to_qhd
- add test for control xfer interrupt processing
- add code for faking ehci controller async list scheduling & processing
- add prototype for void usbh_isr(pipe_handle_t pipe_hdl, uint8_t class_code);
2013-03-10 17:51:53 +07:00
hathach
959311532e refractor
- rename some field in ehci_qhd/qtd_t
- code test for open pipe
2013-03-06 14:55:02 +07:00
hathach
97a4a41b82 refractor
- remove unnecessary assign next pointer of asyn/period head in hcd_controller_init
2013-03-06 11:24:20 +07:00
hathach
3ed29f5f3c add test & code for hcd_pipe_control_open 2013-03-05 14:26:36 +07:00
hathach
a259be6edf refractor
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
2013-03-04 18:01:05 +07:00
hathach
94c004724c allow configure host/device by controller basic
- make changes to adapt
add mcu_capacity.h
2013-03-04 16:21:41 +07:00
hathach
656da2992d add alignof to compilier specific
add static_assert support for IAR (built-in support)
2013-03-04 15:01:33 +07:00
hathach
5207875add sperate tests 2013-03-04 01:00:25 +07:00