summaryrefslogtreecommitdiff
path: root/tinyusb/host
AgeCommit message (Collapse)Author
2013-06-27add set idle request for hidh_open_subtaskhathach
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
2013-06-23add custom bulk out testhathach
2013-06-22fix bug with custom class that terminate xfer after the first QTDhathach
2013-06-22fix licensehathach
2013-06-21add api for hcd: hcd_pipe_is_idlehathach
add api for usbh: tusbh_device_get_mounted_class_flag implement api for custom class - is mounted - read
2013-06-21[host lpc43xx] adding support for host custom classhathach
refractor usbh class driver indexing opt out periodic list code in EHCI (need to refractor/group later) [device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open add usbd_pipe_open to manage pipe
2013-05-25rename descriptor type, hid descriptor typehathach
2013-05-23- move CMSIS & driver lib for lpc13u to codebase bsp/lpc13xxhathach
- change descriptor.c/h able to build device example
2013-05-09refractor testhathach
try to add travis-ci
2013-05-09test clean uphathach
2013-05-06add log2_of and use this function in get_period_headhathach
2013-05-06add stub for msc host & hub driverhathach
2013-05-06change format of file header & license spacinghathach
2013-04-28clean up mainhathach
2013-04-27reduce delay after reset to 20mshathach
correct freeRTOS configCPU_CLOCK_HZ to correct M4 mcu clock
2013-04-25implement hcd_port_speed_gethathach
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
2013-04-25change OSAL_TASK_DEF to decouple variable name with task namehathach
implement osal_task_delay for freeRTOS & non_os getting both no_os & freertos running with mouse + keyboard
2013-04-25add attribute warn unused result for osal_create_* functionhathach
taskify keyboard_app mouse_app & led_blinking
2013-04-25add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOShathach
using plain char for error enum character increase freeRTOS configMAX_PRIORITIES to 16 house keeping & clean up compiler warning
2013-04-24- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with ↵hathach
most popular RTOS) - add new error enum TUSB_ERROR_OSAL_TASK_CREATE_FAILED - move usbh_enumeration_task prototype to usbh.h - change OSAL_SUBTASK_INVOKED_AND_WAIT behavior, will not "return" in calling task when subtask got error status. calling task need to do that after the call - osal_queue_receive signature from uint32_t* to void* - implement osal_freertos.h for FreeRTOS 7.3 --> able to compile & build host_freertos + OSAL_TASK_FUNCTION + turn on FPU for M4 in both host_os_none & host_freertos (freertos requires FPU to be on to compile) + osal_task_create + OSAL_SUBTASK_INVOKED_AND_WAIT + SUBTASK_ASSERT + osal_semaphore_reset + osal_queue_flush + adding heap_1.c for memory management
2013-04-24move main work in usbh_enumeration_task to its body subtask for task_assert ↵hathach
style
2013-04-24fix potential error with usbh_control_xfer_subtask in subtask_asserthathach
change back to use task_assert style in usbh_enumeraion change test to task->subtask->subtask style in test/test_osal_none.c
2013-04-23rename OSAL_TASK_DECLARE to OSAL_TASK_FUNCTIONhathach
removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
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-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 tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete ↵hathach
& error event
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-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-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-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-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
2013-03-26- put ATTR_UNUSED to hardfault handler variables to discard compiler warninghathach
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
2013-03-26start merge hidh_keyboard back to hidhhathach
2013-03-26pass all the current testshathach
2013-03-26add flag_supported_class to usbh_deviceshathach
remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API - prefer testing