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

SDK • Setting up Pico development on Eclipse

$
0
0
I'm trying to set up Pico development using Eclipse as an IDE, on a Pi5 running up to date PiOS (Bookworm).

Using Pico-related stuff as downloaded yesterday.

I've followed the instructions in Appendix D of "getting-started-with-Pico.pdf" (current version - build-date: 2024-10-15 build-version: 2b6018e-clean) and get the following errors when I try to build the Eclipse project files (for Pico2 and RP2350):

Code:

fred@raspberrypi:~/Projects/Pico_SDK/pico-ex-eclipse $ cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DPICO_BOARD=pico2 -DPICO_PLATFORM=rp2350-arm-s ../pico-examplesUsing PICO_SDK_PATH from environment ('/home/dev/Projects/Pico_SDK/pico-sdk')PICO_SDK_PATH is /home/dev/Projects/Pico_SDK/pico-sdkTarget board (PICO_BOARD) is 'pico2'.Using board configuration from /home/dev/Projects/Pico_SDK/pico-sdk/src/boards/include/boards/pico2.hPico Platform (PICO_PLATFORM) is 'rp2350-arm-s'.Defaulting compiler (PICO_COMPILER) to 'pico_arm_cortex_m33_gcc' since not specified.Configuring toolchain based on PICO_COMPILER 'pico_arm_cortex_m33_gcc'Defaulting PICO_GCC_TRIPLE to 'arm-none-eabi'CMake Error at /home/dev/Projects/Pico_SDK/pico-sdk/cmake/preload/toolchains/util/find_compiler.cmake:29 (message):  Compiler 'arm-none-eabi-gcc' not found, you can specify search path with  "PICO_TOOLCHAIN_PATH".Call Stack (most recent call first):  /home/dev/Projects/Pico_SDK/pico-sdk/cmake/preload/toolchains/util/find_compiler.cmake:39 (pico_find_compiler)  /home/dev/Projects/Pico_SDK/pico-sdk/cmake/preload/toolchains/util/pico_arm_gcc_common.cmake:25 (pico_find_compiler_with_triples)  /home/dev/Projects/Pico_SDK/pico-sdk/cmake/preload/toolchains/pico_arm_cortex_m33_gcc.cmake:11 (include)  /usr/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:124 (include)  CMakeLists.txt:7 (project)CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.CMake Error: CMAKE_C_COMPILER not set, after EnableLanguageCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguageCMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage-- Configuring incomplete, errors occurred!fred@raspberrypi:~/Projects/Pico_SDK/pico-ex-eclipse $ 
It looks as if I need to set more environment variables; searching yields very little on Pico+Eclipse.
Any suggestions? (Please don't just suggest other IDEs; for now I want to start with Eclipse).

Statistics: Posted by stevend — Thu Sep 04, 2025 8:42 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles