-
Notifications
You must be signed in to change notification settings - Fork 245
Unable to checkout 'a65b7c9a3e6502127fdb80eb288d8cbdf251a6f4' in submodule path 'CMSIS_5' #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue here. |
I've just tried this myself, following the instructions in https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf and it seemed to work fine? And I didn't need to install git-lfs, so I dunno quite what's going on there. After cloning this repo, and then doing
and
and
Are you still having problems? What OS are you using? |
I'm on Ubuntu 22.04, but there have been a few commits to the CMSIS_5 submodule since opening this, so maybe something changed upstream to resolve this? What about git version? I'm on 2.34.1 if it matters. Maybe lfs is handled differently between git versions? If @neonmik is still having issues, we can keep this open, otherwise feel free to close, as I provided a workaround in my first comment. |
After following the instructions in the getting started with pi pico document I ended up with the same issue on macos. Installing git-lfs seems to have solved the issue for me, after recloning the repo. |
Looks like there is some issue checking out the current commit for CMSIS_5 when executing the following line from the "Build and flash picoprobe" section of the User Guide:
When I run
git submodule update --init
it ends up on branchmaster
with a dirty working directory. If I enter theCMSIS_5
directory, andgit reset --hard
and remove any untracked filesgit clean -xfd
, I end up on thedevelop
branch. If I try to checkout a65b7c9a3e6502127fdb80eb288d8cbdf251a6f4 withgit checkout a65b7c9a3e6502127fdb80eb288d8cbdf251a6f4
I get the following error:After installing git-lfs as per the README and repeating the
I am in a detached head at a65b7c9a3e6502127fdb80eb288d8cbdf251a6f4. Proceeding to build picoprobe from this point seems to work as expected.
I'm guessing this is outside the control of this repo but I didn't see this documented anywhere, so hopefully this helps others who don't have git-lfs by default like I did.
The text was updated successfully, but these errors were encountered: