-
Notifications
You must be signed in to change notification settings - Fork 952
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
Can't configure where local picotool binary is #2081
Comments
Have you followed the instructions to install picotool in your custom location? The SDK is not actually looking for the picotool binary, it’s looking for the The Also, as a side note, |
I downloaded the binary for my system from github and put it on my path. Yes, that is not the default install instruction, but I didn't want to build picotool for my system because that's broken for other reasons and I just wanted to use a binary. Figured that should be easy. In the interim, it looks like the default install instructions might automatically download a binary instead of building (if available) so I should give that another go I guess. Still, I feel like being more clear about how The |
Yes, the binary in the path is not used - CMake’s |
I see those files now. I downloaded this from raspberry pi's repo: https://github.com/raspberrypi/pico-sdk-tools/releases I'm not seeing how then to put picotool on the path and supporting what cmake expects. I guess I could symlink to the binary, but that gets weird on non-linux systems. I still think the original requests here stands - or at least to get error messages that more helpfully point to the solution. Is there some reason we couldn't just specify the binary directly? |
If you just add that directory you downloaded to your PATH variable (eg in |
I have the
picotool
binary on my path.cmake
(andFindpicotool.cmake
) still somehow can't seem to findpicotool
.They try to build it, but that fails for other reasons. I don't need to build it. I have a working binary. Why can't it just use it?
I have also tried following picotool's instructions on telling the SDK where the single shared picotool is by setting the
picotool_DIR
environment variable to the folder that contains the binary (or with-D...
to cmake`) and it still tries to build.I must be doing something silly...
The text was updated successfully, but these errors were encountered: