As far as I understand, picotool's location is backed into picotool.exe binary, so while building it manually just added:to cmake as instructed on picotool github page and then put it files:and then in CMakeLists.txt
added:Maybe I'm wrong, maybe I'm right, but only then it worked for me. picotool-NOTFOUND or sth was before for me.
Default location was E:\bin - without -DCMAKE_INSTALL_PREFIX. I dont't know, if it is followed by picotool build dir or sdk - both had there, under letter E:\.
Code:
-DCMAKE_INSTALL_PREFIX=E:\Download\Pico_2\picotool -DPICOTOOL_FLAT_INSTALL=1
Code:
picotool.exepicotoolConfig.cmakepicotoolConfigVersion.cmakepicotoolTargets.cmakepicotoolTargets-release.cmakeotp_header_parser/otp_header_parse.exe
added:
Code:
set(picotool_DIR E:/Download/Pico_2/picotool)
Default location was E:\bin - without -DCMAKE_INSTALL_PREFIX. I dont't know, if it is followed by picotool build dir or sdk - both had there, under letter E:\.
Statistics: Posted by MatSOBDev2 — Fri Aug 09, 2024 1:19 pm