summaryrefslogtreecommitdiff
path: root/tests/test
AgeCommit message (Collapse)Author
2013-03-22fix bug: adjust all bulk queue head from ehci_data.devicehathach
2013-03-22add callback for hcd when it cleaned up all cache data for a device ↵hathach
(previously mark as removing).
2013-03-22house keeping for pipe API test codehathach
2013-03-22test code clean uphathach
2013-03-22refractoring test codehathach
2013-03-22start to clean up test codehathach
2013-03-22- fix bug when unplugged unmounted-already device (mostly plugged when power on)hathach
- add hal_debugger_is_attached & hal_debugger_breakpoint - assert will suspend (place breakpoint) if the condition is failed and debugger is attached. Otherwise, a message to uart is printed - fix get control qhd function when dev_addr is not zero (shifted 1) - fix wrong logic for unsupported class
2013-03-13add some test for usbh_hcd integrationhathach
- add tests for pipe_close (while TDs are active) - add tests for device unplugged add tesst & implement the async_advance_isr to clean up "REMOVING" queue head - add helper find previous qhd - add remove qhd from async list - add is_removing field for async advance isr to clean up add pipe close for control pipe & bulk pipe (with tests) add helper get qhd from pipe_handle
2013-03-13refractor rename field inactive_next_xact of ehci_qhd_thathach
2013-03-13refractor ehci test fileshathach
adding some code for async_advance_isr add test for async_advance_isr
2013-03-13add usbh_pipe_control_close (in conjunction with usbh pipe control open)hathach
close control pipe when unplugged
2013-03-13add hard fault handler to bsp.chathach
rename class_install_subtask to class_open_subtask add class_close for unmount adding code for usbh_device_unplugged_isr & invoke it in hcd_isr
2013-03-13forget to add test file for ehci isrhathach
2013-03-13go through all the enumeration (up to get full configuration)hathach
- fix init_qhd for address 0 (clear queue head --> ehci controller halted) - fix bug in usbh_init missing address0 for semaphore create TUSB_CFG_DEBUG == 3: --> ATTR_ALWAYS_INLINE is null --> allow gcc to export "normal inline" function
2013-03-12add isr api for usbh_hcdhathach
- void usbh_device_plugged_isr(uint8_t hostid, tusb_speed_t speed); - void usbh_device_unplugged_isr(uint8_t hostid); implement port_connect_status_isr
2013-03-12add semaphore reset & queue flush API for osalhathach
add semaphore reset when opening control pipe
2013-03-11add semphore reset & queue flush APIhathach
modify test to check control pipe semaphore created with usbh_init
2013-03-10- add test code for bulk xfer isrhathach
- fix mismatch type func return
2013-03-10renamehathach
2013-03-10add code for ehci interrupt handlerhathach
- 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-10rename filehathach
2013-03-09add class code to hcd_pipe_open to facilitate usb_complete callbackhathach
2013-03-09add int_on_complete parameter to hcd_pipe_xfer for TD chain class requesthathach
fix control transfer request: remove get_control_request_ptr()
2013-03-09- addd p_qtd_list_tail to qhd structure for easy queue TDhathach
- move control_request from ehci_data to usbh_device_info_pool - add test for bulk transfer double (2 consecutive xfers) - use table (array) structure for class driver, currently included - refractor extract to function insert_qtd_to_qhd + init function + install_subtask --> all class driver function must be declared with WEAK
2013-03-07add test code & hcd_pipe_xfer for bulk transferhathach
- test cross 4k boundary test for bulk transfer rename p_qtd_list to p_qtd_list_head
2013-03-07make "used" member of ehci_qtd_t into reserved place of buffer[1] (with ↵hathach
assert check in hcd init)
2013-03-07guard check for open iso pipehathach
2013-03-07re-layout ehci_data_t to get better memory consumptionhathach
2013-03-06add prototype for hcd_pipe(control)_closehathach
- update test code for enum task respectively
2013-03-06add code & test for hcd_pipe_open interrupthathach
high and non-highspeed
2013-03-06basically finish code for control transfer & test codehathach
2013-03-06pass test for setup TDhathach
2013-03-06rename fields in ehci_qtd_thathach
2013-03-06refractorhathach
- rename some field in ehci_qhd/qtd_t - code test for open pipe
2013-03-06refractor ehci_data_thathach
separate tests for pipe open & pipe xfer
2013-03-06refractorhathach
- remove unnecessary assign next pointer of asyn/period head in hcd_controller_init
2013-03-06add some code & testcode for hcd_pipe_control_xferhathach
2013-03-06fix errorhathach
- remove p_qhd->qtd_overlay.halted = 1;
2013-03-06refractor hcd_openhathach
2013-03-05add test & code for open bulk transfer to hcd_pipe_open()hathach
2013-03-05refractor testshathach
2013-03-05add test & code for hcd_pipe_control_openhathach
2013-03-04abstract call chains from hal usb isrhathach
2013-03-04refractorhathach
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
2013-03-04replace TUSB_CFG_HOST by MODE_HOST_SUPPORTEDhathach
move stuffs around
2013-03-04allow configure host/device by controller basichathach
- make changes to adapt add mcu_capacity.h
2013-03-04add alignof to compilier specifichathach
add static_assert support for IAR (built-in support)
2013-03-04sperate testshathach
2013-03-04renamehathach
2013-03-04add test for hcd/host inithathach
- TT control - usb cmd complete hcd/host initialization code