This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue loading template application in VS Code: wrong CMake kit

Hi everyone.

I'm approacing to the nrf52833 SoC following this  official tutorial but when I import the example template the VSCode finds the cmake tool in my espressif (ESP32) folder, giving an error about its wrong version:

[variant] Loaded new set of variants
[kit] Successfully loaded 9 kits from C:\Users\Andrea\AppData\Local\CMakeTools\cmake-tools-kits.json
[main] Configuring folder: blinky
[proc] Executing command: C:\Users\Andrea\.espressif\tools\cmake\3.16.4\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -Hc:/Users/Andrea/Documents/NordicApps/blinky -Bc:/Users/Andrea/Documents/NordicApps/blinky/build -G "Visual Studio 16 2019" -T host=x64 -A x64
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
[cmake]   CMake 3.20.0 or higher is required.  You are running version 3.16.4
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
It seems the extension doesn't find the ncs toolchain path. How do I fix the issue?
Parents Reply Children
No Data
Related