Facing this really weird issue which doesn’t seem to be documented anywhere (or I don’t realize how to search for it):
If a platformio.ini file is configured with a lib_deps variable that points to a repo on GitHub with a submodule, it downloads the submodule instead of the main one. Can be observed with the popular libDaisy:
add
lib_deps = https://github.com/electro-smith/libDaisy
to platformio.ini and you will receive a copy of googletest in .pio/libdeps/electrosmith_daisy, which is a submodule within the libDaisy repo. This specific case has also been documented here but the answers focus on other things. The docs of lib_deps do not specify any kind of flag I could use to circumvent this issue. Any ideas of what’s going on here? This question is not about the Daisy ecosystem specifically, I know that it is currently unsupported by PIO. This is a general question on lib_deps and git submodules.