summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2026-05-12feat: add MIDI 2.0 Device class driver (USB-MIDI 2.0)Saulo Veríssimo
Add native USB-MIDI 2.0 Device class driver to TinyUSB. Implements the USB-MIDI 2.0 specification with both Alt Setting 0 (MIDI 1.0 fallback) and Alt Setting 1 (UMP native) descriptor support. Driver features: - UMP (Universal MIDI Packet) read/write with atomic message framing - Protocol negotiation: Endpoint Discovery, Config Request/Notify, Function Block Discovery (embedded in driver) - Group Terminal Block descriptor via GET_DESCRIPTOR - Alt Setting switch handler with endpoint re-arm - Static allocation, no dynamic memory, ISR-safe Build system: - Register midi2d_* in usbd.c driver table - Add TUD_MIDI2_DESCRIPTOR macros to usbd.h - Add config defaults (CFG_TUD_MIDI2_*) to tusb_option.h - Add midi2_ump_word_count() to midi.h (shared by Device and Host) - Add midi2_device.c/h to family.cmake and CMakeLists.txt - Add midi2_device.h include to tusb.h All changes guarded by #if CFG_TUD_MIDI2 (default 0). Zero impact on existing drivers and examples. Tested: Raspberry Pi Pico (RP2040), Linux ALSA, Windows MIDI Services
2026-04-29deprecated `usbd_control.c` and merge its functionality into `usbd.c`hathach
2026-01-04Implement Printer Device ClassRémi Berthoz
2025-11-06update espressif cmakehathach
2025-09-15Merge branch 'master' into fork/ennebi/mtphathach
2025-08-06Add MTP class deviceMaurizio Pesce
2025-05-28add OPT_MCU_MAX32665hathach
2025-02-12fix host midi buildhathach
2025-01-25fix cihathach
2025-01-22- change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict ↵hathach
with zephyr - change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
2025-01-21zephyrhathach
2025-01-21bump up cmake min to 3.20hathach
2024-11-27Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)Ha Thach
* change TUD_EPBUF_TYPE_DEF order * add and fix -Wmissing-prototypes warnings for cmake (skip make)
2024-04-22fix print lu format warnings with clanghathach
2023-07-25improve processing usb complete and error isr.hathach
also merge them together
2023-06-26minor clean up with include_guard()hathach
2023-06-14rename typec driverhathach
2023-06-07inital support for usb typec and pd examplehathach
2023-06-05clean uphathach
2023-06-02add IAR support for G0 with cmakehathach
2023-06-02cmake refactorhathach
2023-05-26move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly ↵hathach
with make
2023-05-26fix build with net_lwip_webserver examplehathach
2023-05-08build host examples with imxhathach
2023-05-07update all device cmake example for imxhathach
2023-05-06cmake work well with imxrthathach
2023-05-05more temp workhathach
2023-05-04wiphathach
2023-04-24add wip notehathach
2023-04-24minor updatehathach
2023-04-21example run well with cmake for imxrthathach