summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2026-05-18midi2: convert to raw Tx FIFO for better segmentation handling, add count to ↵HiFiPhile
packet api Signed-off-by: HiFiPhile <[email protected]>
2026-05-12fix: address PR review feedback for MIDI 2.0 driversSaulo Veríssimo
Host driver (midi2_host.c): - midih2_open() now returns actual parsed length instead of max_len, preventing composite device interface conflicts - Parsers (alt0/alt1) refactored to return const uint8_t* end pointer following midi_host.c switch/case pattern - Alt 1 CS Endpoint now parses MIDI 2.0 layout (bNumGrpTrmBlk at offset 3 with MIDI_CS_ENDPOINT_GENERAL_2_0 subtype check) instead of reusing MIDI 1.0 struct (bNumEmbMIDIJack) - midih2_set_config() now issues SET_INTERFACE control request via tuh_interface_set() before completing configuration. Falls back to alt 0 if SET_INTERFACE fails - Extracted midih2_set_config_complete() and midih2_set_interface_cb() for async SET_INTERFACE handling Device driver (midi2_device.c): - midi2d_open() skip loop now checks bInterfaceNumber, stopping at interfaces that belong to other functions in composite devices - SET_INTERFACE handler now rejects alt > 1 (returns false/stall) - Named constants for GTB descriptor types and MIDI protocol values Descriptor macros (usbd.h): - TUD_MIDI2_DESC_ALT1_HEAD: iInterface set to 0 (consistent with Alt 0), wTotalLength now uses TUD_MIDI2_DESC_ALT1_CS_LEN to cover all Alt 1 class-specific descriptors - TUD_MIDI2_DESC_ALT1_EP: now accepts GTB ID list via variadic args, emitting complete CS endpoint descriptor Host example: - CMakeLists.txt restricted to rp2040 family (display.c requires Pico SDK headers) - display.c: null terminator after strncpy in log scroll Documentation: - class_drivers.rst updated to reflect SET_INTERFACE behavior and auto-select with fallback Addresses: Codex P1 (#1, #2, #3), Copilot (#4-#9)
2026-05-12test: add MIDI 2.0 Device and Host unit testsSaulo Veríssimo
Add unit tests for MIDI 2.0 drivers: - Device: UMP word count (all 16 message types), descriptor macro validation (length, byte layout, alt settings, endpoints), CS endpoint subtypes, traversal integrity - Host: UMP word count, callback struct validation, CS endpoint subtypes Also add Sphinx documentation for MIDI 2.0 class drivers (Device and Host API reference, lifecycle, configuration, examples). Tests: 60/60 PASS (FIFO 26/26, USBD 5/5, MIDI2 Device 18/18, MIDI2 Host 6/6, USBD internal 5/5)
2026-04-16fix(docs): update URL for STM32C071 Nucleo board documentationStefanOroel
2026-04-09Add initial board support for nRF54LM20 DKgab-k
2026-03-31Removed readme and modified the getting started docValentyn Korniienko
2026-03-23Revert "Make driver init() function optional"Ha Thach
2026-03-22Update documentationCédric Berger
2026-03-14fix windows buildHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-14update rx65n_target: correct pin configuration and remove unused USB ↵hathach
interrupt definitions
2026-03-13add ft9xx-gcc toolchain support to CIhathach
2026-03-13actual build make/cmake for ft9xxhathach
2026-03-13rename and migrate kinetis_k32l to new mcux-deviceshathach
2026-03-05Merge branch 'master' into fork/armusin/threadx_osalhathach
2026-02-10Merge branch 'refs/heads/master' into copilot/improve-build-steps-rp2040-esp32hathach
2026-02-10update getting_started.rst and get_deps.py for clarity and improved ↵hathach
dependency handling
2026-02-09Merge branch 'hathach:master' into threadx_osalAleksei Musin
2026-02-07remove sdk setup instruction for rp2040 and espressifhathach
2026-01-14bsp: add STM32H747-DISCOHiFiPhile
Signed-off-by: HiFiPhile <[email protected]> Signed-off-by: Zixun LI <[email protected]>
2026-01-14bsp: add TI EK-TM4C1294XLHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-30support for the AT32F45X serieszhiqiang-ch
2025-12-28Fix trailing whitespace in getting_started.rstcopilot-swe-agent[bot]
- Removed trailing whitespace from line 37 as detected by pre-commit check - Documentation builds successfully Co-authored-by: HiFiPhile <[email protected]>
2025-12-28Use appropriate syntax highlighting for Windows commandscopilot-swe-agent[bot]
- Changed Windows Command Prompt blocks from bash to bat for proper highlighting - Changed PowerShell blocks from bash to powershell for proper highlighting - Improves documentation readability and accuracy Co-authored-by: HiFiPhile <[email protected]>
2025-12-28Add detailed build instructions for rp2040 and esp32 to getting_started.rstcopilot-swe-agent[bot]
- Added dedicated "Building for RP2040" section with pico-sdk installation steps - Added dedicated "Building for ESP32" section with esp-idf installation steps - Included platform-specific instructions for Linux/macOS and Windows - Added PICO_SDK_PATH export steps before cmake for rp2040 - Added esp-idf source/export steps before cmake for esp32 - Updated note section to reference new detailed sections - Documentation builds successfully without errors Co-authored-by: HiFiPhile <[email protected]>
2025-12-22ThreadX OSAL header is added. Docs are updated.Aleksei Musin
2025-12-11Use role TUSB_ROLE_HOST in host stack initializationLeZerb
2025-11-26Merge branch 'master' into xfer-fifohathach
# Conflicts: # src/common/tusb_fifo.h
2025-11-21edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
cdc device omit ep buffer when hwfifo is supported
2025-11-20Doc: Typo in docs/integration.rstThomas Rubin
Signed-off-by: Thomas Rubin <[email protected]>
2025-11-20update changelog.rsthathach
2025-11-19Bump version to 0.20.0hathach
2025-11-17make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() ↵hathach
as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future.
2025-11-11update dochathach
2025-10-21use CMake in getting_started examplesc1570
2025-10-20add note about CMakec1570
2025-10-20add missing class driver callbacksc1570
2025-10-20revert unnecessary Sphinx config changesc1570
2025-10-20streamlined getting_startedc1570
2025-10-20getting_started structurec1570
2025-10-20more consolidationc1570
2025-10-20improved getting_started, integrated "first device/host"c1570
2025-10-20rearrage TOCc1570
2025-10-20improve flowc1570
2025-10-20Naming conventions, buffer handlingc1570
2025-10-20WIP improved docs (feat. LLM)c1570
2025-10-14Merge pull request #3299 from hathach/initial-nrf54h20Ha Thach
Initial nrf54h20 support
2025-10-13rename pca10056 to nrf52840dk, pca10059 to nrf52840donglehathach
2025-10-09docs: fix .rst links to use Sphinx :doc: role for proper HTML generationcopilot-swe-agent[bot]
Co-authored-by: hathach <[email protected]>
2025-10-04update docshathach
2025-10-03update docshathach