rp2: Use local tinyusb instead of the one in pico-sdk.

So that all MicroPython ports that use tinyusb use the same version.  Also
requires fewer submodule checkouts when building rp2 along with other ports
that use tinyusb.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-02-03 16:33:55 +11:00
parent 035d16126a
commit c9260dda23
2 changed files with 4 additions and 2 deletions

View File

@@ -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)