So I haven't used my SDK for a while on my RasPi 3, so I thought updating the SDK might be a good idea.
I followed the steps "getting started with Raspberry Pi Pico-series" on page 33, that is
However, and I am sure others had this problem too though I could not find anything on a quick google search, "cmake .. " command does not work as intended any more.
So what's the problem now, exactly? Is there a quick fix? I have to update my Cmake, I guess? But why did the update skip the CMake folder?
Do I have to remove the entire SDK installation, and install it anew?
Thanks for your help.
I followed the steps "getting started with Raspberry Pi Pico-series" on page 33, that is
Code:
cd pico-sdkgit pullgit submodule update
Code:
pi@raspberrypi:~/pico/pico-projects/FSM/build $ cmake ..PICO_SDK_PATH is /home/pi/pico/pico-sdkTarget board (PICO_BOARD) is 'pico'.Using board configuration from /home/pi/pico/pico-sdk/src/boards/include/boards/pico.hPico Platform (PICO_PLATFORM) is 'rp2040'.CMake Error at build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include): include could not find load file: /home/pi/pico/pico-sdk/cmake/preload/toolchains/pico_arm_gcc.cmakeCall Stack (most recent call first): CMakeLists.txt:4 (project)Build type is ReleaseTinyUSB available at /home/pi/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.BTstack available at /home/pi/pico/pico-sdk/lib/btstackcyw43-driver available at /home/pi/pico/pico-sdk/lib/cyw43-driverlwIP available at /home/pi/pico/pico-sdk/lib/lwipmbedtls available at /home/pi/pico/pico-sdk/lib/mbedtlsCMake 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)
Do I have to remove the entire SDK installation, and install it anew?
Thanks for your help.
Statistics: Posted by FlorianJW — Sun Mar 02, 2025 8:41 am — Replies 0 — Views 19