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

SDK • Re: How to turn off optimization, and other debugging tips?

$
0
0
[cmake] Not searching for unused variables given on the command line.
[cmake] PICO_SDK_PATH is C:/Users/Ryan/.pico-sdk/sdk/2.0.0
[cmake] Target board (PICO_BOARD) is 'winglight_eol_board'.
[cmake] Using board configuration from C:/Users/Ryan/Documents//rpi_pico/winglight_eol_board.h
[cmake] Defaulting platform (PICO_PLATFORM) to 'rp2040' based on PICO_BOARD setting.
[cmake] CMake Error at C:/Users/Ryan/.pico-sdk/cmake/v3.28.6/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:176 (message):
[cmake] Could not find toolchain file:
[cmake] C:/Users/Ryan/.pico-sdk/sdk/2.0.0/cmake/preload/toolchains/pico_arm_gcc.cmake
[cmake] Call Stack (most recent call first):
[cmake] CMakeLists.txt:29 (project)
This should be:
pico_arm_cortex_m33_gcc.cmake for Pico2 or
pico_arm_cortex_m0plus_gcc.cmake for Pico1
Probably haven't selected Pico as active kit, it happened to me as well.
BTW ... there is a fresh update to Pico-VScode extension ...
CAPTURE.jpg
P.S. you are not alone: viewtopic.php?p=2252390

Statistics: Posted by gmx — Thu Sep 12, 2024 7:44 am



Viewing all articles
Browse latest Browse all 4060

Trending Articles