aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/rp2/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt
index 160456c6b..bd58d8f70 100644
--- a/ports/rp2/CMakeLists.txt
+++ b/ports/rp2/CMakeLists.txt
@@ -14,6 +14,9 @@ else()
set(PICO_SDK_PATH ../../lib/pico-sdk)
endif()
+# Use the local tinyusb instead of the one in pico-sdk
+set(PICO_TINYUSB_PATH ${MPY_DIR}/lib/tinyusb)
+
# Include component cmake fragments
include(micropy_py.cmake)
include(micropy_extmod.cmake)