summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/rp2040/family.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake
index cc9bf65bd..cb9d8094a 100644
--- a/hw/bsp/rp2040/family.cmake
+++ b/hw/bsp/rp2040/family.cmake
@@ -20,6 +20,10 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
set(TOP "../../..")
get_filename_component(TOP "${TOP}" REALPATH)
+ if (NOT PICO_TINYUSB_PATH)
+ set(PICO_TINYUSB_PATH ${TOP})
+ endif()
+
# tinyusb_additions will hold our extra settings libraries
add_library(tinyusb_additions INTERFACE)