| Age | Commit message (Collapse) | Author |
|
|
|
rename and moving bsp ea4357
|
|
fix some compiler warnings
|
|
|
|
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t*
fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head)
- change period list structure
limit the maximum polling interval to 256 ms
add max_loop static MAX number of iteration for list_find_previous_item
add test for close 256ms polling interrupt
|
|
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
|
|
|
|
|
|
|
|
host_freertos demo
|
|
remove temp freeRTOS folder in test/support
use test/support/FreeRTOSConfig.h from win32-mingw demo
temporarily disable all tests in test_osal_freeRTOS.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(callback isr)
and using OSAL for task-base demo
- fix ehci error with XFER_COMPLETE callback to usbh_isr, TD need to be freed & unlink before invoking
callback
- fix bug in usbh.c set device state to CONFIGURED right after SET_CONFIGURE control xfer
|
|
signature to osal_queue_send(osal_queue_handle_t const queue_hdl, const void * data)
- support any size queue message (instead of fixed uint32_t)
|
|
tusbh_hid_mouse_isr
|
|
& error event
|
|
when needed later)
|
|
bangding I2C on PB_0 PB_1)
add back port reset after get 8 bytes of device descriptor
|
|
|
|
monitor presence
- USB1 host run ok with NGX4330
|
|
hack: add delay before the very first xfer when enumerating (finalize later
after reading USB 2.0 specs)
|
|
add USB1_PWR_EN (GPIO5[6])
|
|
- add mouse app to mount mouse interface
|
|
|
|
refractor hid_host.c
- extract hidh_interface_open from hidh_keyboard_open
- extract hidh_interface_close from hidh_keyboard_close
-
|
|
- hidh_mouse_open
- tusbh_hid_mouse_status
- tusbh_hid_mouse_get_report
|
|
add hid descriptor for mouse & mouse interface to descriptor_test
refractor extract function hidh_interface_status
fix error with MACRO HID_REPORT_ITEM with zero data size --> redundant semicolon
|
|
add test & implement tusbh_hid_mouse_is_supported
|
|
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
|
|
start to add support for host hid mouse
|
|
add hack delay 100 ms after a port reset (huge) for correct speed detection
|
|
|
|
|
|
|
|
|
|
refractor test code
|
|
configure before open class driver
|
|
|
|
still have unplug/plug event after receiving report from keyboard devices
|
|
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
|
|
|
|
add tusbh_hid_keyboard_status & test code
|
|
|
|
refractor the full configure descriptor parsing in enum task
|
|
refractor hidh_open_subtask & hidh_keyboard_open
add ATTR_PACKED_STRUCT(x)
- TODO remove ugly pre_pack & post pack
|