| Age | Commit message (Collapse) | Author |
|
adding configuration docs for tinyusb_config.h
document HID mouse & keyboard API
|
|
invoked in non-isr context
|
|
|
|
refractor msch buffer for getting inital scsi like inquiry, read capacity
adding support for resovling stall on control pipe
|
|
|
|
|
|
fix ceedling tests
|
|
plugged --> 200 ms delay. 50ms delay after each port reset
|
|
|
|
|
|
|
|
|
|
remove TUSB_EVENT_INTERFACE_OPEN & TUSB_EVENT_INTERFACE_CLOSE
|
|
- 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
|
|
|
|
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
|
|
remove instance_num in hidh API
temporarily pause device stack developement
should fix travis-ci build error
|
|
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
|
|
usbd device_class_driver
added & tested HID mouse for device (work together with hid keyboard)
rename DEVICE_ROM_REG_BASE, DEVICE_ROM_DRIVER_ADDR
|
|
temp change USBD_API to ROM_API
add lpc13xx device support
fix romdriver pointer
able to init rom driver
|
|
|
|
|
|
tusbh_hid_keyboard/mouse_is_mounted
|
|
|
|
|
|
improve keyboard_app, should display all displayable characters
improve the de-bouncing keyboard (still got some issues)
|
|
tusbh_hid_mouse_isr
|
|
& error event
|
|
|
|
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
|
|
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
|
|
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
|
|
|
|
remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API
- prefer testing
|
|
temporarily ignore test for hid_host.c due to ceedling linking issue with weak symbol
implement hidh_open_subtask driver to subclass open
rename hidh_keyboard_install to hidh_keyboard_open_subtask
|
|
move test hid related to its own folder
|
|
|
|
changing class hidh behavior
|
|
change keyboard_info_pool to keyboard_data
|