diff options
| author | Angus Gratton <angus@redyak.com.au> | 2025-01-14 11:39:32 +1100 |
|---|---|---|
| committer | Angus Gratton <gus@projectgus.com> | 2025-01-29 11:41:32 +1100 |
| commit | 43e3ab6131b11d7fb7409a35fe5127317ba27397 (patch) | |
| tree | 20b30ae5d25e472de10643aefeece9c6b63929f3 | |
| parent | ec527a11136e1c83ddf51099a418ea785215284f (diff) | |
esp32: Don't add TinyUSB files to an ECHO_SUBMODULES build.
Similar to other places, CMake will error out if this file
doesn't exist yet but we don't want this if we're only getting
the list of submodules.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
| -rw-r--r-- | ports/esp32/esp32_common.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/esp32_common.cmake b/ports/esp32/esp32_common.cmake index b6bfcdacc..e03d2ff11 100644 --- a/ports/esp32/esp32_common.cmake +++ b/ports/esp32/esp32_common.cmake @@ -60,7 +60,7 @@ list(APPEND MICROPY_SOURCE_DRIVERS ) string(CONCAT GIT_SUBMODULES "${GIT_SUBMODULES} " lib/tinyusb) -if(MICROPY_PY_TINYUSB) +if(MICROPY_PY_TINYUSB AND NOT ECHO_SUBMODULES) set(TINYUSB_SRC "${MICROPY_DIR}/lib/tinyusb/src") string(TOUPPER OPT_MCU_${IDF_TARGET} tusb_mcu) |
