-
Notifications
You must be signed in to change notification settings - Fork 48
New compile failure after changing picoprobe to debugprobe #44
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
I just ran the
That seems to be your problem? Does it work okay if you |
Yeah, that sounds like a sensible fix to me - at a guess I'd say different versions of git might not include git-lfs or something, or maybe a difference between Lite OS and Full OS? |
I would love to be able to answer this question, but now I'm unable to get even this far in the build. Since the original issue was opened 5 months ago, I have now performed all of the linux upgrade instructions (sudo apt update, sudo apt full-upgrade etc.) in order to try to approximate a similar build environment to you, and I have removed the prior pico-setup clone repo from the system. The new issue appears to be the same as raspberrypi/pico-sdk#1990 , claiming: "Incompatible picotool installation found: Requires version 2.1.0, you have version 2.0.0" , even though I have completely removed all of the prior clones of raspberrypi pico-related repositories, and cleaned picotool out from the /usr/local/bin directory. I have no idea where it thinks it's finding it, and there doesn't seem to be a message indicating where. I'm not sure where I am expected to "set PICOTOOL_FORCE_FETCH_FROM GIT", as performing an "export PICOTOOL_FORCE_FETCH_FROM_GIT=1" was ineffectual at resolving this. I thought pico-setup was supposed to be the easiest/fastest way to install the SDK ? |
It is, on a clean Raspberry Pi OS installation; but it doesn't work properly if it's run multiple times - see #10 You might also want to look at https://github.com/raspberrypi/pico-vscode which might be more robust / self-contained? |
This is unrelated; Each time I try to rerun, I nuke the cloned repo, and re-clone from first principles. This worked great for each of the SDK 1.x versions, but I've never had a single successful build from a SDK 2.x instance. |
Update:
However, during the step where it builds 'pico' in pico-examples, it failed again, claiming that my picotool was version 2.0.0 even though the only executable I can find (and the one in the execution path) is the one just built, which is 2.1.0 .
In answer to your question from earlier today, yes, the git-lfs issue reappeared during the build of debugprobe. So, ultimately, some progress, but another issue uncovered. |
Second update: I now have the build working, with no fewer than three fixes required:
|
1 & 2 will be fixed by #43 once that’s merged |
Would it be possible to expedite these updates ? That pull request seems to be outstanding for about the same amount of time, while people continue to use this script and trip over the same issues. (for example, https://forums.raspberrypi.com/viewtopic.php?t=383765 ) |
Note: I did not see this last month prior to the commit of #31 ,
Today, I tried a new, fresh clone of pico-setup, and got an error which wasn't previously occurring. It is within the debugprobe clone repo, apparently due to an error with a module reference to CMSIS_5.
Not the debugprobe -> CMSIS_5 reference; that appears to be OK.
Instead there appears to be a different reference in the chain debugprobe -> freertos -> CMSIS_5 (this is getting complicated).
Maybe this issue should be logged in the debugprobe repository, but I really won't be able to spend time on managing that issue (aside from maybe re-attempting a compile) as I am not at all familiar with that module; I merely wanted a minimal instance of the SDK and dependencies.
For now, I have removed 'debugprobe' from the script's "for REPO in debugprobe picotool" line in order to complete the install.
Here is the error output:
Note that this was attempted on a recent install of of the Raspberry Pi OS on a RPi5:
The text was updated successfully, but these errors were encountered: