23 Commits

Author SHA1 Message Date
hathach
cc49607434 test refractor 2013-05-12 19:32:32 +07:00
hathach
81780008e9 add cardinality_of function to return number of set bits
refractor tests in ehci
2013-05-11 00:40:21 +07:00
hathach
7355a45a67 finally get travis build without errors 2013-05-09 17:52:18 +07:00
hathach
dc4bb9d104 -mx32 is not supported in gcc 4.6.x. change to use if-else sizeof(void*) in test code 2013-05-09 17:48:19 +07:00
hathach
7e93dc2c8d test pointer size on travis system 2013-05-09 16:57:48 +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
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
7b5d9edc5a add test for pipe_interrupt_xfer
implement keyboard app code
- forcefully place keyboard_report in RAM section 3
change used bit in qtd from reserved in buffer[1] to alternate link
add code for fake ehci controller runs on period interrupt
change signature of tusbh_hid_keyboard_get_report
- tusb_keyboard_report_t* to uint8_t*
implement period (interrupt) complete isr processing
2013-03-27 11:51:44 +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
dbd3d9618d refractor rename field inactive_next_xact of ehci_qhd_t 2013-03-13 12:29:44 +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
644f0d3932 make "used" member of ehci_qtd_t into reserved place of buffer[1] (with assert check in hcd init) 2013-03-07 17:59:07 +07:00
hathach
5c3bd1f8dc add code & test for hcd_pipe_open interrupt
high and non-highspeed
2013-03-06 22:21:42 +07:00
hathach
685fb97086 rename fields in ehci_qtd_t 2013-03-06 15:08:09 +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
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
5207875add sperate tests 2013-03-04 01:00:25 +07:00
hathach
9a8dc0a26d rename 2013-03-04 00:54:53 +07:00