Hi all,
I have a project which was targeted at the first pico, which I want to now target at the pico2.
I'm using SuSE Linux tumbleweed X86_64, and have the arm gcc compiler installed, and am using the latest vscodium.
So I have updated my pico libraries with a small script file :Does anyone know what the problem might be.
Note the project compiled absolutely fine before updating the pico libs, is there anything else I need to update. I'll go take a look at the getting started guides in case there is anything I need to change, that I have missed.
Cheers.
Phill.
I have a project which was targeted at the first pico, which I want to now target at the pico2.
I'm using SuSE Linux tumbleweed X86_64, and have the arm gcc compiler installed, and am using the latest vscodium.
So I have updated my pico libraries with a small script file :
Code:
#!/bin/bashDIRS="pico-sdk pico-examples pico-playground pico-extras"for i in $DIRSdo echo $i cd $i git pull git submodule sync git submodule update cd ..done
Code:
Now when I try to build my project the Cmake halts with :Building folder: /net/aurigae/home/afra/pico/phill/AtomVGA/pico_atomvga/build [main] Configuring project: pico_atomvga [proc] Executing command: /usr/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/local/arm/bin/arm-none-eabi-gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/local/arm/bin/arm-none-eabi-g++ --no-warn-unused-cli -S/net/aurigae/home/afra/pico/phill/AtomVGA/pico_atomvga -B/net/aurigae/home/afra/pico/phill/AtomVGA/pico_atomvga/build -G Ninja[cmake] PICO_SDK_PATH is /net/aurigae/home/afra/pico/pico-sdk[cmake] Not searching for unused variables given on the command line.[cmake] Target board (PICO_BOARD) is 'pico'.[cmake] Using board configuration from /net/aurigae/home/afra/pico/pico-sdk/src/boards/include/boards/pico.h[cmake] Pico Platform (PICO_PLATFORM) is 'rp2040'.[cmake] CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:152 (message):[cmake] Could not find toolchain file:[cmake] /net/aurigae/home/afra/pico/pico-sdk/cmake/preload/toolchains/pico_arm_gcc.cmake[cmake] Call Stack (most recent call first):[cmake] /net/aurigae/home/afra/pico/pico-extras/CMakeLists.txt:12 (project)[cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred![proc] The command: /usr/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/local/arm/bin/arm-none-eabi-gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/local/arm/bin/arm-none-eabi-g++ --no-warn-unused-cli -S/net/aurigae/home/afra/pico/phill/AtomVGA/pico_atomvga -B/net/aurigae/home/afra/pico/phill/AtomVGA/pico_atomvga/build -G Ninja exited with code: 1
Note the project compiled absolutely fine before updating the pico libs, is there anything else I need to update. I'll go take a look at the getting started guides in case there is anything I need to change, that I have missed.
Cheers.
Phill.
Statistics: Posted by PhillHS — Tue Aug 20, 2024 3:44 pm