In platform.ini
lib_deps =
https://github.com/<LibraryName>.git#commitHash
The library contains sub-modules inside it. But the build fails. My doubt is whether the submodules in the library are being downloaded or not. I am not interested in creating a separate folder and cloning the library and building it. This method actually works but I wish to do it from the platform.ini file. Thanks.!