mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
Drop Feather-specific scaffolding (SSD1306 display, font, PIO-USB pin override) and rename the directory to midi2_host. The example is now a single main.c + tusb_config.h pair following the midi_rx pattern, with a printf-only UMP decoder for Channel Voice messages. Build-tested on adafruit_feather_rp2040_usb_host, daisyseed (stm32h7), mimxrt1010_evk, stm32f407disco, raspberry_pi_pico2, b_u585i_iot2a, portenta_c33, stm32h503nucleo, stlinkv3mini, feather_stm32f405. Ref #3571
24 lines
570 B
CMake
24 lines
570 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/../../hw/bsp/family_support.cmake)
|
|
|
|
project(tinyusb_host_examples C CXX ASM)
|
|
family_initialize_project(tinyusb_host_examples ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
# family_add_subdirectory will filter what to actually add based on selected FAMILY
|
|
set(EXAMPLE_LIST
|
|
bare_api
|
|
cdc_msc_hid
|
|
cdc_msc_hid_freertos
|
|
device_info
|
|
hid_controller
|
|
midi_rx
|
|
midi2_host
|
|
msc_file_explorer
|
|
msc_file_explorer_freertos
|
|
)
|
|
|
|
foreach (example ${EXAMPLE_LIST})
|
|
family_add_subdirectory(${example})
|
|
endforeach ()
|