cmake error in VScode after updating SDK

Hi there,

     not having a good week! Another issue I need your help with please!

I updated the nrFconnect SDK and toolchains to V2.2.0

Ever since I cannot build anything and get CMake errors.

Build log below for zephyr "hello world" app.

 *  Executing task: nRF Connect: Build: blinky/build (active) 

Building blinky
west build --build-dir c:\Nordic\blinky\build c:\Nordic\blinky

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/Nordic/blinky
-- Cache files will be written to: C:/ncs/v2.2.0/zephyr/.cache
-- Zephyr version: 3.2.99 (C:/ncs/v2.2.0/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: nrf52840dk_nrf52840
-- Found host-tools: zephyr 0.15.1 (C:/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.1 (C:/ncs/toolchains/v2.2.0/opt/zephyr-sdk)

warning: UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: SERIAL_HAS_DRIVER (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_CONSOLE and/or look up UART_CONSOLE in
the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


C:/Nordic/myapps/hello_world/boards/arm/wearable/nrf52840dk_nrf52840_defconfig:5: warning: attempt to assign the value 'y' to the undefined symbol BOARD_NRF52840DK_NRF52840

error: Aborting due to Kconfig warnings

Parsing C:/ncs/v2.2.0/zephyr/Kconfig
Loaded configuration 'C:/Nordic/myapps/hello_world/boards/arm/wearable/nrf52840dk_nrf52840_defconfig'
Merged configuration 'C:/Nordic/blinky/prj.conf'
CMake Error at C:/ncs/v2.2.0/zephyr/cmake/modules/kconfig.cmake:328 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.2.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.2.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
  C:/ncs/v2.2.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.2.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.2.0\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\toolchains\v2.2.0\opt\bin\python.exe' '-Bc:\Nordic\blinky\build' -GNinja '-Sc:\Nordic\blinky'

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: nRF Connect: Build: blinky/build (active) 

       

Also get the following message..
CMake Error at C:/ncs/v2.2.0/zephyr/cmake/modules/kconfig.cmake:328 (message):
I tried reinstalling all the recommended tools and followed the setup guides. Even tried reinstalling VScode but no luck.
Any ideas please?
Cheers
Duncan
Related