diff options
| author | Damien George | 2021-02-03 16:33:55 +1100 |
|---|---|---|
| committer | Damien George | 2021-02-12 12:56:28 +1100 |
| commit | c9260dda23bfdaea042d3bb94e1a830af0dbfa18 (patch) | |
| tree | 090c942fbb3a8bf44e3f619948918606729d6242 /ports | |
| parent | 035d16126ac2e4ea9b9c1c33a15104cd952897a1 (diff) | |
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>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/rp2/CMakeLists.txt | 3 |
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) |
