I'm following the Nrf Connect SDK tutorials on YouTube and I am at step 3 (nRF Connect for VS Code, 3: Building an application & Exploring windows). When creating the build configuration, I get a bunch of errors and it ultimately fails:
Here are the full logs:
Executing task: nRF Connect: Generate config nrf52840dk_nrf52840 for /Users/redacted/code/nordic/myapps/myblinkyapp Building myblinkyapp west build --build-dir /Users/redacted/code/nordic/myapps/myblinkyapp/build /Users/redacted/code/nordic/myapps/myblinkyapp --pristine --board nrf52840dk_nrf52840 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: /Users/redacted/code/nordic/myapps/myblinkyapp -- Found Python3: /opt/nordic/ncs/toolchains/v2.2.0/bin/python3.9 (found suitable exact version "3.9.6") found components: Interpreter -- Cache files will be written to: /Users/redacted/Library/Caches/zephyr -- Zephyr version: 3.2.99 (/opt/nordic/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 (/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk) -- Found toolchain: zephyr 0.15.1 (/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/v2.2.0/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts -- Generated zephyr.dts: /Users/redacted/code/nordic/myapps/myblinkyapp/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/redacted/code/nordic/myapps/myblinkyapp/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/redacted/code/nordic/myapps/myblinkyapp/build/zephyr/dts.cmake warning: the hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at /opt/nordic/ncs/v2.2.0/nrf/lib/nrf_modem_lib/Kconfig.modemlib:158) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined) warning: the default selection OPENTHREAD_LIBRARY (undefined) of <choice OPENTHREAD_IMPLEMENTATION> (defined at /opt/nordic/ncs/v2.2.0/nrf/subsys/net/openthread/Kconfig.defconfig:29, subsys/net/l2/openthread/Kconfig:36) is not contained in the choice warning: HAS_NORDIC_DRIVERS (defined at modules/hal_nordic/Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols: - SOC_SERIES_NRF52X (defined at soc/arm/nordic_nrf/nrf52/Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y) warning: HAS_NRFX (defined at modules/hal_nordic/nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols: - SOC_SERIES_NRF52X (defined at soc/arm/nordic_nrf/nrf52/Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y) warning: NRFX_GPIOTE (defined at modules/hal_nordic/nrfx/Kconfig:63) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - GPIO_NRFX (defined at drivers/gpio/Kconfig.nrfx:4), with value y, direct dependencies DT_HAS_NORDIC_NRF_GPIO_ENABLED && GPIO (value: y), and select condition DT_HAS_NORDIC_NRF_GPIO_ENABLED && GPIO (value: y) warning: NRFX_CLOCK (defined at modules/hal_nordic/nrfx/Kconfig:14) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y) warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules/hal_nordic/nrfx/Kconfig:18) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:37), with value y, direct dependencies <choice CLOCK_CONTROL_NRF_SOURCE> (value: y), and select condition !SOC_SERIES_BSIM_NRFXX && !CLOCK_CONTROL_NRF_FORCE_ALT && <choice CLOCK_CONTROL_NRF_SOURCE> (value: y) warning: NRFX_PPI (defined at modules/hal_nordic/nrfx/Kconfig:111) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - UART_ENHANCED_POLL_OUT (defined at drivers/serial/Kconfig.nrfx:422), with value y, direct dependencies (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y), and select condition HAS_HW_NRF_PPI && (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y) error: Aborting due to Kconfig warnings Parsing /opt/nordic/ncs/v2.2.0/zephyr/Kconfig Loaded configuration '/opt/nordic/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig' Merged configuration '/Users/redacted/code/nordic/myapps/myblinkyapp/prj.conf' Merged configuration '/Users/redacted/code/nordic/myapps/myblinkyapp/build/zephyr/misc/generated/extra_kconfig_options.conf' CMake Error at /opt/nordic/ncs/v2.2.0/zephyr/cmake/modules/kconfig.cmake:328 (message): command failed with return code: 1 Call Stack (most recent call first): /opt/nordic/ncs/v2.2.0/nrf/cmake/modules/kconfig.cmake:29 (include) /opt/nordic/ncs/v2.2.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include) /opt/nordic/ncs/v2.2.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /opt/nordic/ncs/v2.2.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:4 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/v2.2.0/bin/cmake -DWEST_PYTHON=/opt/nordic/ncs/toolchains/v2.2.0/bin/python3 -B/Users/redacted/code/nordic/myapps/myblinkyapp/build -GNinja -DBOARD=nrf52840dk_nrf52840 -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -S/Users/redacted/code/nordic/myapps/myblinkyapp * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.