Issue Context
I am compiling the project, and I do not want to bother with USB Support, so I skipped initializing the tinyUSB submodule within the pico-sdk.
Current Behavior
However, this approach causes the build for this project to fail with the following output:
CMake Warning at /root/source/pico-sdk/src/rp2_common/tinyusb/CMakeLists.txt:10 (message):
TinyUSB submodule has not been initialized; USB support will be unavailable
hint: try 'git submodule update --init' from your SDK directory
(/root/source/pico-sdk).
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for strncasecmp
-- Looking for strncasecmp - not found
-- Looking for dirent.h
-- Looking for dirent.h - not found
CMake Error at src/CMakeLists.txt:653 (suppress_tinyusb_warnings):
Unknown CMake command "suppress_tinyusb_warnings".
-- Configuring incomplete, errors occurred!
Expected Behavior
I would expect the cmake to succeed without error, and the build would output the targets that do not depend on tinyUSB.
Workarounds
Just doing the git submodule update --init from the SDK directory allows me to get past this cmake error in this project.
Issue Context I am compiling the project, and I do not want to bother with USB Support, so I skipped initializing the tinyUSB submodule within the pico-sdk.
Current Behavior However, this approach causes the build for this project to fail with the following output:
Expected Behavior I would expect the cmake to succeed without error, and the build would output the targets that do not depend on tinyUSB.
Workarounds Just doing the
git submodule update --init
from the SDK directory allows me to get past this cmake error in this project.