Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

SDK • Re: CMake Error after SDK Update

$
0
0
Okay I think I found the fix myself (sort of), I was using the wrong keywords.

https://github.com/raspberrypi/pico-sdk/issues/1873

I have to delete the existing build directories of my projects in its entirety.

But there is still the problem with the picotool (?). With CMakeLists.txt line

Code:

(...)# create map/bin/hex file etc.pico_add_extra_outputs(...)(...)
It does not work. Error output on command line:

Code:

(...)CMake Error at /home/pi/pico/pico-sdk/tools/Findpicotool.cmake:7 (cmake_minimum_required):  CMake 3.17 or higher is required.  You are running version 3.16.3Call Stack (most recent call first):  /home/pi/pico/pico-sdk/tools/CMakeLists.txt:138 (find_package)  /home/pi/pico/pico-sdk/tools/CMakeLists.txt:493 (pico_init_picotool)  /home/pi/pico/pico-sdk/src/cmake/on_device.cmake:56 (picotool_postprocess_binary)  CMakeLists.txt:18 (pico_add_extra_outputs)(...)
With

Code:

(...)# create map/bin/hex file etc.#pico_add_extra_outputs(...)(...)

it does, but of course I get only the .elf file.

Statistics: Posted by FlorianJW — Sun Mar 02, 2025 9:27 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles