You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be because the Adafruit_NeoPixel submodule is not loading correctly.
When git submodule update --init --recursive is run the following error is thrown:
fatal: not a git repository: /Users/ncc-michael/GitHut/fprime-proves/lib/Adafruit_NeoPixel/../../.git/modules/lib/Adafruit_NeoPixel
Failed to clone 'lib/Adafruit_NeoPixel'. Retry scheduled
BUG: submodule considered for cloning, doesn't need cloning any more?fatal: could not get a repository handle for submodule 'lib/Adafruit_NeoPixel'
This error also blocks cloning the ngay-led branch on GitHub Desktop. I think this is an issue with the Adafruit Repo, so not sure what we can do to fix it.
Solution
I got around this by doing the following in the lib folder:
I'm not sure this is a bug but rather just us not knowing how to interact with git submodules. It's not a feature I use often either. I'll work on some docs for folks who need to update any third party packages we pull in. I suspect existing docs will work for people who are cloning the repo for the first time but I can give that a try as well.
Description of the Issue
On the
ngay-led
branch when you try to do afprime-util generate rpipico && fprime-util build rpipico -j20
it fails with the following error:This appears to be because the Adafruit_NeoPixel submodule is not loading correctly.
When
git submodule update --init --recursive
is run the following error is thrown:This error also blocks cloning the
ngay-led
branch on GitHub Desktop. I think this is an issue with the Adafruit Repo, so not sure what we can do to fix it.Solution
I got around this by doing the following in the
lib
folder:We might want to consider adding this note to the README.
The text was updated successfully, but these errors were encountered: