| Age | Commit message (Collapse) | Author |
|
remove some rom driver dependency on upper layer
introduce CAP_DEVICE_ROMDRIVER to overwrite TUSB_CFG_DEVICE_USE_ROM_DRIVER within the lib
add support for lpc175x_6x
- able to build and blink led on lpcxpresso1769 with device (without any class enabled)
|
|
move USB_MAX_EP_NUM to device dependency
- lpc43 --> 6
- lpc11/13 --> 5
|
|
|
|
usbd device_class_driver
added & tested HID mouse for device (work together with hid keyboard)
rename DEVICE_ROM_REG_BASE, DEVICE_ROM_DRIVER_ADDR
|
|
forming API for USBD-CLASS driver (abstract away from rom driver)
separate buffer of hid class from buffer of core driver
|
|
|
|
rom device runs ok with lpc11uxx
|
|
temp change USBD_API to ROM_API
add lpc13xx device support
fix romdriver pointer
able to init rom driver
|
|
add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx)
add dcd_nxp_romdriver for handling usb rom driver
add BIT_TEST_ in binary.h
remove mw_usbd_hid.h include due to lexical conflict
|
|
|
|
- dcd_controller_reset
- dcd_controller_connect
|
|
|
|
- change descriptor.c/h able to build device example
|
|
|
|
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
|
|
- add mouse app to mount mouse interface
|
|
|
|
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
|
|
- API retain though
|
|
|
|
|
|
|
|
add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard
|
|
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
|
|
hack include in hid_host_keyboard.h
|
|
move test hid related to its own folder
|
|
|
|
changing class hidh behavior
|
|
change keyboard_info_pool to keyboard_data
|
|
- rename tusbh_device_status_get to tusbh_device_get_state
- replace tusbh_device_status_t by tusb_device_state_t
|