I am having the same issue. Re-running sudo make install in the picotool/build folder gives:Could you also run cmake asin your sdk build and post that output here? This helps debugging where it's looking for the picotool packageCode:
cmake .. --debug-find-pkg=picotool
Code:
Install the project...-- Install configuration: "Release"-- Up-to-date: /usr/local/bin/picotool-- Up-to-date: /usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolTargets.cmake-- Up-to-date: /usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolTargets-release.cmake-- Up-to-date: /usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolConfig.cmake-- Up-to-date: /usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolConfigVersion.cmake-- Up-to-date: /usr/local/share/picotool/rp2350_otp_contents.json-- Up-to-date: /usr/local/share/picotool/xip_ram_perms.elf
Code:
find_package considered the following locations for the Config module: /home/pi/.local/picotoolConfig.cmake /home/pi/.local/picotool-config.cmake /usr/local/picotoolConfig.cmake /usr/local/picotool-config.cmake /usr/local/share/picotool/picotoolConfig.cmake /usr/local/share/picotool/picotool-config.cmake /usr/picotoolConfig.cmake /usr/picotool-config.cmake /picotoolConfig.cmake /picotool-config.cmake /usr/local/games/picotoolConfig.cmake /usr/local/games/picotool-config.cmake /usr/games/picotoolConfig.cmake /usr/games/picotool-config.cmake The file was not found.Call Stack (most recent call first): /home/pi/pico/pico-sdk/src/cmake/on_device.cmake:33 (pico_init_picotool) /home/pi/pico/pico-sdk/src/rp2040/boot_stage2/CMakeLists.txt:57 (pico_add_dis_output) /home/pi/pico/pico-sdk/src/rp2040/boot_stage2/CMakeLists.txt:101 (pico_define_boot_stage2)CMake Warning at /home/pi/pico/pico-sdk/tools/Findpicotool.cmake:28 (message): No installed picotool with version 2.0.0 found - building from source
This is running on Bullseye.
Statistics: Posted by Memotech Bill — Wed Aug 21, 2024 8:33 pm