summaryrefslogtreecommitdiff
path: root/examples/host/bare_api/src
AgeCommit message (Collapse)Author
2026-05-28remove sync() in tinyusb callback since it cause issue with RTOS when usbh ↵hathach
task is blocking
2026-03-06fix CIHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-06Merge remote-tracking branch 'tinyusb/master' into hcd_ip3516HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-05add IAR warning flags to cmake build and fix themhathach
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-12-13example/bare_api: move buffer into USB sectionHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix board_init_after_tusbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-03-25add tuh_edpt_close() API, it will abort any pending transferhathach
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2025-03-06fix(dwc2) host driver conflict with max3421ehathach
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
2024-06-18add host/device_info examplehathach
2024-04-26Merge pull request #2609 from tyustli/patch-1HiFiPhile
Remove redundant header file includes for the hid class
2024-04-25fix ci errortyustli
2024-04-22fix print lu format warnings with clanghathach
2024-03-04correct rp2040 host with max3421hathach
2023-12-26allow rp2040 to use max3421e as host controllerhathach
- fix warnings build hcd max3421 with rp2040 - add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1 will enable this - add max3421 driver implementation for rp2040 family - update tusb_config for host to allow easy enable host selection for rp2040 (default/pio-usb/max3421)
2023-08-04Merge pull request #2204 from hathach/enhance-bspHa Thach
Enhance bsp
2023-08-04Merge pull request #2116 from dsugisawa-mixi/masterHa Thach
fix example of bare_api, check empty string
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-06-17fix example of bare_api, check empty stringdsugisawa-mixi
2023-03-24update host example to use new tuh mem macroshathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-17update host example, add pio-pico-usb for rp2040hathach
2022-11-23allow all host examples to use pico-pio-usb for rp2040hathach
2022-06-27fix all warnings with host rp2040hathach
2022-06-27clean up usbd log levelhathach
2022-06-06update all host exampleshathach
2022-03-19move code aroundhathach
2022-03-19rename usbh_edpt_open() to tuh_edpt_open()hathach
2022-03-19get bare example working with hid devicehathach
2022-03-19add parse config descriptor to examplehathach
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-18implement tuh_edpt_xfer() for non-controlhathach
2022-03-18move daddr into xfer structhathach
2022-03-18update sync API, move timeout into xfer structhathach
remove tuh_control_xfer_sync()
2022-03-17add CFG_TUH_API_EDPT_XFER to enable generic edpt xferhathach
2022-03-17rename tuh_control_xfer_t to tuh_xfer_thathach
2022-03-17update examplehathach
2022-03-17move result into transfer structhathach
2022-03-13add synchronous (blocking) support for usbh control transferhathach
- add synchronous version of all get descriptor API - update bare example to use sync API for string descriptor - change order of index, language_id in tuh_descriptor_get_string() to match similar API of libusb - add index to tuh_descriptor_get_hid_report()
2022-03-11rework usbh control xferhathach
- change API of tuh_control_xfer and its callback - rename tuh_control_complete_cb_t to tuh_control_xfer_cb_t - add user argument to control callback - migrate usbh and hub
2022-03-11merge device_info into bare_api examplehathach
2022-03-09rename host descriptor functionhathach
2022-03-09add tuh_descriptor_hid_report_get()hathach
2022-03-04fix naming, and buildhathach
2022-03-04rename examplehathach