It seems I'd got as far a downloading building the picotool tree already , but not managed to make it work , so I dropped it.
the following :
https://github.com/raspberrypi/pico-sdk ... 2435642380
leads me to :
https://github.com/raspberrypi/picotool ... i-pico-sdk
I've discovered that if I let it download and build, it builds under _deps in the project dir so that's not good for reuse.
I have a master build of SDK and set PICO_SDK_PATH to point to the build directory which contains the object code. Fine.
I do the same with picotool, set the env var with set() in my CMakeList.txt and it does not find it.
If finds picotoolConfig.cmake but then fails to find picotoolTargets.cmake (which is indeed not present at the same location ).
the following :
https://github.com/raspberrypi/pico-sdk ... 2435642380
leads me to :
https://github.com/raspberrypi/picotool ... i-pico-sdk
which does not work. It fails to find then goes back to downloading picotoolIn order for the SDK to find picotool in this custom folder, you will usually need to set the picotool_DIR variable in your project. This can be achieved either by setting the picotool_DIR environment variable to $MY_INSTALL_DIR/picotool, by passing -Dpicotool_DIR=$MY_INSTALL_DIR/picotool to your cmake command, or by adding set(picotool_DIR $MY_INSTALL_DIR/picotool) to your CMakeLists.txt file.
I've discovered that if I let it download and build, it builds under _deps in the project dir so that's not good for reuse.
I have a master build of SDK and set PICO_SDK_PATH to point to the build directory which contains the object code. Fine.
I do the same with picotool, set the env var with set() in my CMakeList.txt and it does not find it.
If finds picotoolConfig.cmake but then fails to find picotoolTargets.cmake (which is indeed not present at the same location ).
Statistics: Posted by pie_face — Sun Dec 08, 2024 5:22 pm