summaryrefslogtreecommitdiff
path: root/examples/device/hid_composite/src
AgeCommit message (Collapse)Author
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2023-08-09Merge pull request #2202 from Rocky04/patch-4Ha Thach
Invoke unmounted state on configuration reset
2023-08-07Update examplesRocky04
2023-08-04update all examples to use unique ID as serial if avaialblehathach
2023-08-04Merge branch 'master' into enhance-bsphathach
2023-08-03rename hw/bsp/board.h to board_api.hhathach
2023-07-31enable USBMC for uno r4, add board_init_after_tusb() APIhathach
add BOARD_UPPERCASE for board detection
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-04change length in tud_hid_report_complete_cb() from uint8 to uint16hathach
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-07-17temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for ↵hathach
up coming release
2022-06-28update rp2040 warningshathach
- remove "-Wno-stringop-overflow -Wno-array-bounds" - skip -Wconversion for gcc 9 and prior - suppress_tinyusb_warnings only when building with gcc 9 and below
2022-06-28Merge branch 'master' into rp2040_warninghathach
2022-06-27rework suppress_tinyusb_warningsgraham sanderson
* gcc 9.2.1 has some spurious -Wconversion warnings * cmake 3.18 and above require set_target_properties to be added from the target directory (so added it to all examples) * fixed a few warnings in a couple of examples
2022-06-27Merge branch 'master' into add-more-warningshathach
2022-06-27change report len in hid API from uint8_t to uint16_thathach
since HS interrupt endpoint can be up to 1024, 8-bit is not enough. affected APIs are: - tud_hid_n_report() / tud_hid_report() - tud_hid_report_complete_cb()
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-06more example updatehathach
2022-06-01rename board specific macro for examplehathach
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT - BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
2022-02-25auto detect max rhport speed based on mcuhathach
2021-12-08Add FT9xx to more examples which support High-SpeedGordon McNab
2021-10-29correctly init hs phy for bcmhathach
2021-09-09add other speed descriptor callback ↵hathach
tud_descriptor_other_speed_configuration_cb() example implement tud_descriptor_device_qualifier_cb() and tud_descriptor_other_speed_configuration_cb() on high speed device to fully compliant to usbcv
2021-08-17add hid_boot_interface examplehathach
2021-07-17Fix merge error.MasterPhi
2021-07-17Merge branch 'master' into dcd_same70HiFiPhile
2021-07-01update hid_composite freertos with capslock as wellhathach
2021-07-01better support for hid device set/get protocolhathach
add caplock detection for hid_composite
2021-06-15Fix resume, always init FS clock.MasterPhi
Signed-off-by: MasterPhi <[email protected]>
2021-05-18clean up, rename some HID device symbol/APIhathach
- add tud_hid_n_interface_protocol() - rename tud_hid_n_boot_mode() to tud_hid_n_get_protocol() - rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb() - add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1 - rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid confusion
2021-02-24add itf argument to hid API to support multiple instanceshathach
following API signature is changed: - tud_hid_descriptor_report_cb() - tud_hid_get_report_cb() - tud_hid_set_report_cb() - tud_hid_boot_mode_cb() - tud_hid_set_idle_cb()
2021-02-09update hid_composite_freertos examplehathach
2021-02-09tud_hid_report_complete_cb() APIhathach
update hid composite to make use of tud_hid_report_complete_cb() for sending reports when possible.
2021-02-08add tud_hid_n_gamepad_report() helper for gamepad reporthathach
- Add gamepad to hid_composite example. Though it needs a bit of extra work but it will come later as separated PR.
2021-02-08clean uphathach
2021-02-01add consumer control to hid_composite exampleshathach
both no OS and freeRTOS
2021-01-24rp2040 hid_composite compiled and testedhathach
2020-07-21add note for MS OS 1.0 Descriptor at 0xEEhathach
2020-07-16rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZEhathach
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-06-15update example config and descriptor with better Highspeed supporthathach
2020-04-20add extra comma to HID_REPORT_IDhathach
this make the template with Report ID look less weird to the user
2020-04-17update example to include CXD56 for highspeed modehathach
2020-04-07example clean uphathach
2020-03-31revise argument order for TUD_CONFIG_DESCRIPTOR macroPeter Lawrence
2020-03-30add provision for multiple configurationsPeter Lawrence
2020-03-03Merge pull request #280 from majbthrd/nuc505Ha Thach
add Nuvoton NUC505
2020-02-26Add langid to examples.Chang Feng
Signed-off-by: Chang Feng <[email protected]>