summaryrefslogtreecommitdiff
path: root/tests/test/host/test_usbh.c
AgeCommit message (Collapse)Author
2013-04-05add control xfer for ehci controller fake: ehci_controller_control_xfer_proceedhathach
refractor test code
2013-03-26pass all the current testshathach
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24refractor hidh keyboardhathach
changing class hidh behavior
2013-03-24refractorhathach
- rename usbh_device_info_pool to usbh_devices - create a struct for control pipe in usbh_device_info_t
2013-03-24rename sem_hdl in usbh_device_info_t control_sem_hdlhathach
2013-03-24add TUSB_DEVICE_STATE_INVALID_PARAMETER to tusb_device_state_thathach
2013-03-24refractorhathach
- rename tusbh_device_status_get to tusbh_device_get_state - replace tusbh_device_status_t by tusb_device_state_t
2013-03-24clean up:hathach
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr add keyboard_app.c/h
2013-03-23refractorhathach
- 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
2013-03-23refractorhathach
- rename usbh_device_info_t.status to state - rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
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 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-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-11add semphore reset & queue flush APIhathach
modify test to check control pipe semaphore created with usbh_init
2013-02-28start to add code for hcd_init testhathach
change hcd_init signature (omit hostid)
2013-02-28continue to strengthen include policyhathach
2013-02-26add osal subtask supporthathach
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
2013-02-08updating usbh init with class inithathach
2013-02-08add TUSB_CFG_HOST_CONTROLLER_START_INDEXhathach
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX clean up some
2013-02-06refractor move device_addr0 into usbh_device_poolhathach
enum_entry contains speed and enum task will not carry out disconnection clean up
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-05remove TUSB prefix for class enum definitionshathach
add most of HID USAGE TABLE and definitions etc ...
2013-02-04rename device_info_pool to usbh_device_info_poolhathach
update enum task to post set address
2013-02-04fix osal_semaphore_wait & osal_queue_receive of osal_none's bughathach
- not assign error to TUSB_ERROR_NON if succeed add code up to set device address for enumeration
2013-02-04add TUSB_CFG_HOST_ENUM_BUFFER_SIZEhathach
add enum buffer getting serious with osal_freeRTOS
2013-02-04resolve conflict between usbh & hcdhathach
2013-02-04rename test file for usbhhathach