We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9d190 commit eb7aacbCopy full SHA for eb7aacb
hw/bsp/rp2040/family.cmake
@@ -23,6 +23,10 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
23
set(PICO_TINYUSB_PATH ${TOP})
24
endif()
25
26
+ if (NOT TINYUSB_OPT_OS)
27
+ set(TINYUSB_OPT_OS OPT_OS_PICO)
28
+ endif()
29
+
30
#------------------------------------
31
# Base config for both device and host; wrapped by SDK's tinyusb_common
32
@@ -54,7 +58,7 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
54
58
55
59
target_compile_definitions(tinyusb_common_base INTERFACE
56
60
CFG_TUSB_MCU=OPT_MCU_RP2040
57
- CFG_TUSB_OS=OPT_OS_PICO
61
+ CFG_TUSB_OS=${TINYUSB_OPT_OS}
62
#CFG_TUSB_DEBUG=${TINYUSB_DEBUG_LEVEL}
63
)
64
0 commit comments