Thank you. How do I make sure it uses the 2.1.1 branch though? All I ever did was run make in the pico-examples/build directory, so this 'upgrade' must've been a consequence of that. Or maybe my system has been hacked and somebody is trying to get into the pico bootloader? But there are thousands of lines of cmake files in the SDK and examples and it's quite hard to find out how anything actually works.Can find it here, better stick to the master branch (2.1.1 for now): https://github.com/raspberrypi/picotool/tree/master
Update: so I deleted pico-sdk and pico-examples and started over again. This time I noticed the warning when I ran cmake in the pico-examples/build directory
Code:
CMake Warning at /home/ian/pico/pico-sdk/tools/Findpicotool.cmake:30 (message): No installed picotool with version 2.1.1 found - building from source It is recommended to build and install picotool separately, or to set PICOTOOL_FETCH_FROM_GIT_PATH to a common directory for all your SDK projectsCall Stack (most recent call first): /home/ian/pico/pico-sdk/tools/CMakeLists.txt:138 (find_package) /home/ian/pico/pico-sdk/src/cmake/on_device.cmake:34 (pico_init_picotool) /home/ian/pico/pico-sdk/src/rp2350/boot_stage2/CMakeLists.txt:57 (pico_add_dis_output) /home/ian/pico/pico-sdk/src/rp2350/boot_stage2/CMakeLists.txt:98 (pico_define_boot_stage2)Code:
git clone https://github.com/raspberrypi/picotool.git --branch mastercd picotool/mkdir buildcd build/export PICO_SDK_PATH=../../pico-sdkcmake ..makeCode:
sudo make installStatistics: Posted by ianangrant — Sun Jul 06, 2025 10:33 am