summaryrefslogtreecommitdiff
path: root/examples/device/CMakeLists.txt
AgeCommit message (Collapse)Author
2026-07-09example(usbtest): device-side peer for the Linux kernel usbtest batteryhathach
Gadget-Zero style source/sink on a vendor interface (alt0 empty, alt1 bulk+int+iso) plus EP0 ctrl_out; tier advertised in bcdDevice. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HeF2gZ1M7GWkz6Av4BpKPg
2026-05-12example: add MIDI 2.0 Device example (midi2_device)Saulo Veríssimo
Add Device example that plays Twinkle Twinkle Little Star using native UMP format. Demonstrates all MIDI 2.0 Channel Voice message types: 16-bit velocity, 32-bit CC, 32-bit pitch bend, 32-bit channel/poly pressure, per-note management, program change with bank select, and JR timestamps. USB descriptor exposes both Alt Setting 0 (MIDI 1.0) and Alt Setting 1 (UMP) per USB-MIDI 2.0 specification. Tested on: Raspberry Pi Pico (RP2040), Linux (ALSA), Windows (MIDI Services)
2026-04-23add cdc msc throughput examplehathach
2026-03-06replace printer_to_hid example with printer_to_cdc examplehathach
fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low)
2026-03-06update printer class: enhance descriptors, buffer sizes, and callbackshathach
2025-12-02adding metrics for computing average compiled sizehathach
2025-09-12add all constant from MTP specs appendix, rename some e.g OPEC to OP, EVTC ↵hathach
to EVENT
2025-01-21bump up cmake min to 3.20hathach
2024-10-15RP2040 Compile Errorspschatzmann
2024-04-28Fix CI.HiFiPhile
2024-04-03add new example to cmake include listhathach
2023-08-09update hil test and json (remove troublesome lpc54608), run hil test on ci ↵hathach
with IAR build
2023-08-03add makefile, add cdc_uac2 to cmake example list, update descriptor to build ↵hathach
with nrf and samg/7x
2023-05-26fix build with net_lwip_webserver examplehathach
2023-05-23Enhance chipidea (#2075)Ha Thach
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead * add dcd dcache for chipidea * add cmake for lpc18 * add makefile build for mcx * use fork of mcu sdk * fix ci build with nrf * flash rp2040 with openocd
2023-05-10try to build with cmake on cihathach
2023-05-07update all device cmake example for imxhathach
2023-05-06cmake work well with imxrthathach
2022-12-30Add multi-rate audio test example for new ISO buffer allocation.Mengsk
2021-09-30Add video class entry to rp2040 building scriptskkitayam
2021-06-10Make examples standalone buildable via CMakegraham sanderson
2021-05-30Rework rp2040 examples and CMake build:graham sanderson
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on matching .skip.MCU_xxx or a mismatched .only.MCU_ - It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which examples get built - The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have everything encapsulated in the FAMILY/family.cmake - pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they also build correctly when included from there. Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.