Mr-Bossman / pi-pico2-linux

RISC-V linux on the raspberry pi pico 2
133 stars 10 forks source link

flash_kernel isn't findingf the SDK #2

Closed znmeb closed 1 week ago

znmeb commented 2 weeks ago

I got everything to work up to the make flash-kernel step. Then it fails:

❯ make flash-kernel
cd build && cmake ..
CMake Error at pico_sdk_import.cmake:74 (message):
  Directory '/home/znmeb/.pico-sdk/sdk/2.0.0' not found
Call Stack (most recent call first):
  CMakeLists.txt:40 (include)

-- Configuring incomplete, errors occurred!
make: *** [Makefile:10: build/Makefile] Error 1

I have the SDK installed at $HOME/CLAMS_base/pico_repos/pico-sdk.

disdi commented 2 weeks ago

Same issue. The root cause is discussed here: https://github.com/Mr-Bossman/pi-pico2-linux/issues/1#issuecomment-2319003062

Mr-Bossman commented 2 weeks ago

I got everything to work up to the make flash-kernel step. Then it fails:


❯ make flash-kernel
cd build && cmake ..
CMake Error at pico_sdk_import.cmake:74 (message):
  Directory '/home/znmeb/.pico-sdk/sdk/2.0.0' not found

This is actually an issue with the vscode plugin integration. I updated it, this should be fixed.

  CMakeLists.txt:40 (include)

-- Configuring incomplete, errors occurred!
make: *** [Makefile:10: build/Makefile] Error 1

I have the SDK installed at $HOME/CLAMS_base/pico_repos/pico-sdk.

shtirlic commented 1 week ago

Try to set PICO_SDK_PATH env var