| Age | Commit message (Collapse) | Author |
|
fix all test build errors
|
|
temp hack to fix problem with no TD on status endpoint of hub in case of error
|
|
invoked in non-isr context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
added stall clear & able to mount the stupid toshiba thumb drive
add HCD pipe API
- bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl);
- bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl);
- uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl);
- tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl);
remove tusbh_device_mount_failed_cb (not neccessary for user)
|
|
|
|
|
|
fix ceedling tests
|
|
plugged --> 200 ms delay. 50ms delay after each port reset
|
|
|
|
|
|
everything should work
TODO: remove static for variable error in control xfer subtask
|
|
|
|
send_message_get_response_subtask
|
|
tusb_control_request_t struct
|
|
|
|
requests
increase enum task stack size from 128 to 150 as it comes dangerously close to overflow
|
|
--> enum task now can work with 128 depth
|
|
|
|
- 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
|
|
|
|
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)
|
|
|
|
|
|
implement cdch_open_subtask
|
|
- add configure option
- add include path
- add driver function table
|
|
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)
|
|
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
|
|
|
|
add api for usbh: tusbh_device_get_mounted_class_flag
implement api for custom class
- is mounted
- read
|
|
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
|
|
|
|
- change descriptor.c/h able to build device example
|
|
|
|
|
|
|
|
correct freeRTOS configCPU_CLOCK_HZ to correct M4 mcu clock
|
|
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
|
|
implement osal_task_delay for freeRTOS & non_os
getting both no_os & freertos running with mouse + keyboard
|
|
taskify keyboard_app mouse_app & led_blinking
|
|
using plain char for error enum character
increase freeRTOS configMAX_PRIORITIES to 16
house keeping & clean up compiler warning
|
|
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
|
|
style
|