| Age | Commit message (Collapse) | Author |
|
|
|
(previously mark as removing).
|
|
|
|
|
|
|
|
|
|
- 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
|
|
- 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
|
|
|
|
adding some code for async_advance_isr
add test for async_advance_isr
|
|
close control pipe when unplugged
|
|
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
|
|
|
|
- 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
|
|
- 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
|
|
add semaphore reset when opening control pipe
|
|
modify test to check control pipe semaphore created with usbh_init
|
|
- fix mismatch type func return
|
|
|
|
- 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);
|
|
|
|
|
|
fix control transfer request: remove get_control_request_ptr()
|
|
- 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
|
|
- test cross 4k boundary test for bulk transfer
rename p_qtd_list to p_qtd_list_head
|
|
assert check in hcd init)
|
|
|
|
|
|
- update test code for enum task respectively
|
|
high and non-highspeed
|
|
|
|
|
|
|
|
- rename some field in ehci_qhd/qtd_t
- code test for open pipe
|
|
separate tests for pipe open & pipe xfer
|
|
- remove unnecessary assign next pointer of asyn/period head in hcd_controller_init
|
|
|
|
- remove p_qhd->qtd_overlay.halted = 1;
|
|
|
|
|
|
|
|
|
|
|
|
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
|
|
move stuffs around
|
|
- make changes to adapt
add mcu_capacity.h
|
|
add static_assert support for IAR (built-in support)
|
|
|
|
|
|
- TT control
- usb cmd
complete hcd/host initialization code
|