summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-22moving things aroundhathach
2013-04-22fix compiler error for USB1 to none in ehci.chathach
rename and moving bsp ea4357
2013-04-22change config to use USB0 onlyhathach
fix some compiler warnings
2013-04-21complete the support for correct polling of 1ms 2ms 4ms 8mshathach
2013-04-21separate fake ehci's run async & period listhathach
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
2013-04-21rename nxp_sof_received to nxp_int_sofhathach
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
2013-04-16getting build with freertos & host demohathach
2013-04-16adding host_freertos configure & build etchathach
2013-04-16create lpcxpresso project for host_freertoshathach
2013-04-16rename and "host" to "host_os_none" demo in prepare for creating ↵hathach
host_freertos demo
2013-04-15add freeRTOS source from vendor to testhathach
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
2013-04-15create a empty test file for hubhathach
2013-04-15clear keyboard & mouse reporthathach
2013-04-15move project files to os_nonehathach
2013-04-15move code in host demo to /src in prepare for support freeRTOS projectshathach
2013-04-14create vendor folder & add freeRTOS 7.3 from lpcopenhathach
2013-04-10- ehci: free error TD for recoveryhathach
2013-04-10change keyboard_app.c & mouse_app.c from polling API to interrupt-based ↵hathach
(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
2013-04-10change osal_queue_send(osal_queue_handle_t const queue_hdl, uint32_t data) ↵hathach
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)
2013-04-09add test & code for TUSB_EVENT_INTERFACE_OPEN for tusbh_hid_keyboard_isr ↵hathach
tusbh_hid_mouse_isr
2013-04-09add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete ↵hathach
& error event
2013-04-09add Lib_OemBaseBoard to bsp/board but current exclude from all builds (added ↵hathach
when needed later)
2013-04-09adding code to allow configure MIC2555 to pull down D+/D- (still need bit ↵hathach
bangding I2C on PB_0 PB_1) add back port reset after get 8 bytes of device descriptor
2013-04-08amend last commithathach
2013-04-08- add scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2); // USB1_VBUS ↵hathach
monitor presence - USB1 host run ok with NGX4330
2013-04-08move MCU define to tusb_option.h, fix the ATTR with USB RAMhathach
hack: add delay before the very first xfer when enumerating (finalize later after reading USB 2.0 specs)
2013-04-08fix board uart init with NGX4330 (use UART0)hathach
add USB1_PWR_EN (GPIO5[6])
2013-04-07- fix HID_MOUSEBUTTON right & lefthathach
- add mouse app to mount mouse interface
2013-04-07refractor extract hidh_interface_get_report from keyboard_get_reporthathach
2013-04-07add complete isr for hidh mousehathach
refractor hid_host.c - extract hidh_interface_open from hidh_keyboard_open - extract hidh_interface_close from hidh_keyboard_close -
2013-04-07add test code & implementhathach
- hidh_mouse_open - tusbh_hid_mouse_status - tusbh_hid_mouse_get_report
2013-04-07add test for mouse_openhathach
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
2013-04-07remove hcd_port_reset before set address in enumerationhathach
add test & implement tusbh_hid_mouse_is_supported
2013-04-07rename hidh_keyboard_info_t to hidh_interface_info_thathach
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
2013-04-07fix compiling error for tests projecthathach
start to add support for host hid mouse
2013-04-07add hal init for USB1 and trying to get USB1 workinghathach
add hack delay 100 ms after a port reset (huge) for correct speed detection
2013-04-05refractorhathach
2013-04-05continue on refratoringhathach
2013-04-05code refractor is a everyday jobhathach
2013-04-05refractor testhathach
2013-04-05add control xfer for ehci controller fake: ehci_controller_control_xfer_proceedhathach
refractor test code
2013-03-29clean up, update tests for hcd_port_reset after 8 byte descriptor & set ↵hathach
configure before open class driver
2013-03-29fix the damn bug within 10 line of code in keyboard_app.chathach
2013-03-27quick fix for a bug in keyboard app.hathach
still have unplug/plug event after receiving report from keyboard devices
2013-03-27add test for pipe_interrupt_xferhathach
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
2013-03-26add code & test for hidh_isr (set status for keyboard)hathach
2013-03-26rename pipe_status_t to tusb_interface_status_thathach
add tusbh_hid_keyboard_status & test code
2013-03-26fix bug with enum task skipping decriptorhathach
2013-03-26add code for hidh closehathach
refractor the full configure descriptor parsing in enum task
2013-03-26add field to endpoint maxpacketsize (mult)hathach
refractor hidh_open_subtask & hidh_keyboard_open add ATTR_PACKED_STRUCT(x) - TODO remove ugly pre_pack & post pack