| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 24 hours | examples: write the host cdc console over RTT when that is the console | hathach | |
| console_write() forwards what the attached CDC device sent back to the board's console, and reached for board_uart_write() directly to stay non-blocking. On a board whose console is the debug probe there is no UART: board_uart_write() is a stub returning -1, so everything the device echoed was dropped, and the do/while loop retried a write that could never make progress and spun until more data arrived. Send it through SEGGER_RTT_Write() on LOGGER_RTT builds -- already non-blocking in the default NO_BLOCK_SKIP mode, which is what the UART path wanted board_uart_write() for. The retry is also bounded now. board_uart_write() is only documented to return the number of bytes sent, and the stubs disagree on how they say "no console here" -- lpc40 returns -1, apm32f0xx returns 0 -- so the loop cannot decide from the return value alone when to stop. It gives up after 10 ms without progress instead, which no draining console ever hits, and keeps the negative return as a fast path so a stub UART does not cost that wait on every read. The RTT header include lives in board_api.h so any example can reach it; the include path only exists when LOGGER=rtt defines LOGGER_RTT. host/cdc_msc_hid now passes on ea4088_quickstart, whose probe (LPC-Link2) has no VCOM: the CDC echo round-trips through a CH340 with TX-RX shorted. | |||
| 2026-05-28 | remove sync() in tinyusb callback since it cause issue with RTOS when usbh ↵ | hathach | |
| task is blocking | |||
| 2026-04-03 | fix issue with exmaple | hathach | |
| 2026-04-03 | fix hil host cdc echo test with imxrt and other fast mcu | hathach | |
| 2026-03-23 | add rp2040 sof + stop_trans on nak. increase nak_poll fs/ls delay to 300 us ↵ | hathach | |
| to prevent xfer is ack while stopping. | |||
| 2026-03-23 | update host msc hil test | hathach | |
| 2026-02-28 | replace board_millis() with tusb_time_millis_api() | hathach | |
| 2025-11-08 | fix more alerts | hathach | |
| 2025-11-03 | fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is ↵ | hathach | |
| not defined | |||
| 2025-10-28 | fix Identifiers that start with '__' or '_[A-Z]' are reserved. | hathach | |
| fix compiling with nuc family | |||
| 2025-10-14 | improve cmake warning flags, fix various warnings in examples | hathach | |
| 2025-09-17 | Fix board_init_after_tusb | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-07-02 | update example | hathach | |
| 2025-06-27 | clean up | hathach | |
| 2025-06-20 | cdch clean up and refactor, add explicit sync() API | hathach | |
| 2025-06-19 | revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUM | hathach | |
| 2025-06-17 | add common cdch_process_set_config() to safely complete set_config() when it ↵ | hathach | |
| failed. driver_process_set_config() also pass drv index with user_data | |||
| 2025-06-16 | Merge branch 'master' into fork/IngHK/cdch_upgrade | hathach | |
| # Conflicts: # README.rst # docs/reference/index.rst # src/class/cdc/cdc_device.c # src/class/cdc/cdc_host.c | |||
| 2025-05-13 | fix warnings, minor clean up | hathach | |
| 2025-04-23 | rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵ | hathach | |
| hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus) | |||
| 2025-03-25 | fix wanings | hathach | |
| 2025-03-09 | Merge pull request #1627 from atoktoto/midihost | Ha Thach | |
| RP2040 MIDI Host | |||
| 2025-03-06 | fix(dwc2) host driver conflict with max3421e | hathach | |
| 2025-03-05 | Merge branch 'master' into fork/atoktoto/midihost | hathach | |
| # Conflicts: # src/host/usbh.c | |||
| 2025-03-03 | - add tuh_descriptor_get_string_langid() API | hathach | |
| - host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo | |||
| 2025-02-24 | add 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-11-07 | update bsp for h7 to support host mode | hathach | |
| 2024-10-14 | change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵ | hathach | |
| consistent | |||
| 2024-10-11 | change tusb_init(), tusb_rhport_init() to use init struct for expandability | hathach | |
| 2024-10-10 | add new tusb_int_handler(rhport, in_isr) as common irq handler | hathach | |
| update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible | |||
| 2024-07-18 | fix some clang compiler warnings | graham sanderson | |
| 2024-04-22 | fix nrfx v3 spim freq when init | hathach | |
| fix clang build with nrf | |||
| 2024-04-22 | fix build with nrfx v3, though max3421e spi does not seem to work well. | hathach | |
| 2024-03-21 | Merge remote-tracking branch 'remotes/hathach/master' into work | IngHK | |
| 2024-03-10 | added defines CFG_TUH_CDC_DTR_CONTROL_ON_ENUM & CFG_TUH_CDC_RTS_CONTROL_ON_ENUM | IngHK | |
| 2024-03-04 | correct rp2040 host with max3421 | hathach | |
| 2024-02-24 | added PL2303 support | IngHK | |
| 2024-02-13 | improved tusb_config.h comment | IngHK | |
| 2024-01-20 | make CFG_TUH_CDC_LINE_CODING_ON_ENUM optional for ch34x | hathach | |
| 2024-01-19 | - add ch34x_set_data_format() | hathach | |
| - add ch34x_set_line_coding() | |||
| 2023-12-26 | initial support of CH34x CDC device | IngHK | |
| 2023-12-26 | allow rp2040 to use max3421e as host controller | hathach | |
| - 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-11-22 | fix typo in cdc line coding enum | hathach | |
| 2023-11-20 | update example to work with featherwing max3421, set max3421 GPIO0 for vbus | hathach | |
| tested with feather nrf52840, m0, m4 | |||
| 2023-09-11 | wrap up build cmake & make support for max3421, to enable the Host driver, ↵ | hathach | |
| 'MAX3421_HOST=1' must be added as part of make/cmake command | |||
| 2023-08-27 | minor update | hathach | |
| 2023-08-27 | more update to transaction | hathach | |
| 2023-08-14 | fix build iar with lpc43 | hathach | |
| 2023-08-04 | Merge branch 'master' into enhance-bsp | hathach | |
| 2023-08-03 | rename hw/bsp/board.h to board_api.h | hathach | |
