update TinyUSB examples for latest TinyUSB (#325)

This commit is contained in:
Graham Sanderson
2023-02-06 16:56:50 -06:00
committed by GitHub
parent 9600dec1f0
commit f3f5d9fe61
11 changed files with 196 additions and 90 deletions

View File

@@ -1,6 +1,8 @@
set(FAMILY rp2040)
set(BOARD pico_sdk)
set(TINYUSB_FAMILY_PROJECT_NAME_PREFIX "tinyusb_host_")
# Hack as some host examples use $TOP in their path
set(TOP ${PICO_TINYUSB_PATH})
add_subdirectory(${PICO_TINYUSB_PATH}/examples/host tinyusb_host_examples)
add_subdirectory(host_cdc_msc_hid)