summaryrefslogtreecommitdiff
path: root/tinyusb/host
AgeCommit message (Collapse)Author
2013-07-19add implementation forhathach
- tusbh_cdc_rndis_is_mounted - tusbh_cdc_rndis_get_mac_addr
2013-07-19add test & code to send rndis msg query for permanent address (MAC address)hathach
2013-07-14extract send message & wait & get complete message to ↵hathach
send_message_get_response_subtask
2013-07-06refractor qhd_xfer_error_isr (omit xfer_type para)hathach
add accumulated total xferred byte for an endpoint until transfer with IOC set - control xfer will have length of data phase in usbh_xfer_isr callback
2013-07-06refractor ehci.c adding qhd_get_xfer_typehathach
2013-07-05change usbh_control_xfer_subtask to use flat API instead of passing ↵hathach
tusb_control_request_t struct
2013-07-05implementing initializing for RNDIShathach
2013-07-04host enum task use static control_request variable instead of literal of ↵hathach
requests increase enum task stack size from 128 to 150 as it comes dangerously close to overflow
2013-07-04refractor control request used in enumeration task to reduce task datahathach
--> enum task now can work with 128 depth
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
2013-07-03change some license texthathach
2013-07-03replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter ashathach
- pipe id - xferred_bytes host_class_driver_t add xferred_bytes parameter void (* const isr) (pipe_handle_t, tusb_event_t); --> void (* const isr) (pipe_handle_t, tusb_event_t, uint32_t); update hid_host & its tests
2013-07-02update usbh_xfer_isr to take actual byte transferred and correct testshathach
2013-07-02add way to calculate the actual byte transferred with ehcihathach
add come callback for cdch add code for cdc serial demo
2013-07-02add tusbh_cdc_serial_is_mounted APIhathach
test for cdch close driver
2013-07-02extract qhd_xfer_error_isrhathach
add support for period list in xfer_error_isr pass period TUSB_EVENT_XFER_ERROR & TUSB_EVENT_XFER_STALLED tests
2013-07-02refractor extract list_nexthathach
add support for TUSB_EVENT_XFER_STALL add test for error/stall in periodic list
2013-07-01refractor codehathach
2013-07-01add cdc host driver close cdch_closehathach
refractor - add helper function in ehci qhd_next & qtd_next - extract function qhd_create_pipe_handle rename tusb_transfer_type_t to tusb_xfer_type_t add some handling for stall
2013-07-01change control xfer check in usbh_xfer_isrhathach
rename - async_list_process_isr to async_list_xfer_complete_isr - period_list_process_isr to period_list_xfer_complete_isr extract function void qhd_xfer_complete_isr(ehci_qhd_t * p_qhd, tusb_transfer_type_t xfer_type)
2013-07-01rename usbh_isr to usbh_xfer_isrhathach
2013-07-01house keepinghathach
2013-07-01add & pass a first few test for cdc hosthathach
implement cdch_open_subtask
2013-06-29[CDC]hathach
- add configure option - add include path - add driver function table
2013-06-27add mutex support for osalhathach
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)
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