| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
disable test for a class of cdc host
temporarily disable test for test_osal_none.c
change include in some core files
remove osal.h from common.h
|
|
|
|
|
|
fix all test build errors
|
|
invoked in non-isr context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add test for mutex in test_osal_none.c
implement usbh_control_xfer using mutex to get access to queue xfer on control pipe
(while semaphore is used to sync with hcd DMA)
failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
|
|
try to add travis-ci
|
|
|
|
move port reset & speed detection from isr context to usbh enumeration task
- decrease time in isr significantly from 50 ms to 580us
fix bug with osal_task_delay for freeRTOS buil
|
|
rename tusb_bus_event_t to tusb_event_t
add test_mouse_init and more stuff for hidh mouse
move delay after port reset to only for speed detection
prioritize port change interrupt over xfer interrupt
- in case of unplugged, current connect change & xfer error both set
- xfer error only break to debugger if not because of unplugged
fix bug: set dev addr0 state to UNPLUG after close its control pipe in enumeration process
|
|
remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API
- prefer testing
|
|
|
|
change keyboard_info_pool to keyboard_data
|
|
- rename usbh_device_info_pool to usbh_devices
- create a struct for control pipe in usbh_device_info_t
|
|
|
|
transfer of control pipe
- fix bug with hcd_port_reset
+ remove regs->portsc_bit.port_enable in the wait loop as device unplugged can cause this to always fails
- correct the timeout for hcd_controll_stop/reset 16 uframes ~ 2 ms
- potentially fix bugs device unplugged when new address is not assigned
|
|
change singature of call_isr as well
|
|
- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED
- move device_state to core/tusb_types.h
- remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly
|
|
- rename usbh_device_info_t.status to state
- rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
|
|
(previously mark as removing).
|
|
- 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
|
|
modify test to check control pipe semaphore created with usbh_init
|
|
- 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);
|
|
|
|
- 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
|
|
|
|
|
|
|
|
enum_entry contains speed and enum task will not carry out disconnection clean up
|
|
add code to check error handling from enum task
|
|
update enum task to post set address
|
|
add enum buffer
getting serious with osal_freeRTOS
|
|
|
|
|