summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/src/main.c
AgeCommit message (Collapse)Author
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-10-14improve cmake warning flags, fix various warnings in exampleshathach
2025-09-17Fix board_init_after_tusbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-03-25fix waningshathach
2025-02-24add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()hathach
change tuh_midi_rx/tx_cb() to have xferred_bytes rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count() use default empty callback instead of weak null to be compatible with keil compiler
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-11-20update example to work with featherwing max3421, set max3421 GPIO0 for vbushathach
tested with feather nrf52840, m0, m4
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
2022-12-21finalizing cdc host, has a working read/writehathach
TODO: first character seems not to get echoed. set control line state seems to failed with LOG < 2
2022-12-16adding tuh_cdc_mount_cb/tuh_cdc_umount_cbhathach
start adding cdc_app.c to example
2022-11-21host msc example work well with rp2040 pio-usbhathach
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-06-06update all host exampleshathach
2022-03-11update hid,msc to new usbh control APIhathach
2021-08-23add tuh_hid_receive_report() for applicaiton to explicitly request reporthathach
2021-05-18move report_info to applicationhathach
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18more API updatehathach
- remove tuh_n_hid_n_get_report() - usbh auto queue get report and invoke callback when received data
2021-05-18remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSEhathach
2021-05-18more hid host API reworkhathach
2021-05-18rename tuh_device_is_configured() to tuh_device_configured()hathach
- remove tuh_device_get_state() - more hid mouse clean up
2021-05-18correct hid host mount/unmount callbackhathach
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18reworking host hid APIhathach
2021-05-18reworking hid hosthathach
2021-05-18minor clean uphathach
2021-05-18more API renamehathach
2021-05-09Update main.ccorvus-ossifragus
Fix code where HID keyboard was being stuffed into the HID mouse buffer.
2021-05-07Update main.ccorvus-ossifragus
Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
2020-09-05update example to test with mousehathach
2020-09-04update ci to also build host examplehathach
2020-09-04fflush(stdout) for keyboard host examplehathach
2020-09-04keyboard host work as proof of concepthathach
2020-09-03more hid host workhathach
2020-09-01clean uphathach
2020-05-19usb0 host on mcb1800 work with fullspeed mode.hathach
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-04clean up things, add makefile for host examplehathach
2020-03-11clean uphathach
2019-07-03tested midi examplehathach
2019-05-21better fix for #72 millis overthrowhathach
2019-05-14update license year to 2019hathach
2019-04-19update device freeRTOS exmaplehathach
2019-04-02rename board_led_control to board_led_writehathach
2019-03-24remove tusb_hal_millis() usage, less work for portinghathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-13seperate tusb_task() to tud_task() and tuh_task()hathach
tusb_task() still exists for backward compatible