Can't build NFC launch app code example

I am using the nRF Connect SDK V2.9 on my Ubuntu 24.04, along with VS Code, as recommended by Nordic for the nRF52 DK. However, whenever I try to create a new project by copying a sample example code from the library, by going to "nRF Connect -> Create a new application -> copy a sample -> NFC Launch App". I then use the following build configurations:

After I click on Generate and Build, I get the following errors:

Building L9
west build --build-dir /home/ams/L9/build /home/ams/L9 --pristine --board nrf52dk/nrf52805 -- -DNCS_TOOLCHAIN_VERSION="NONE"

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /home/ams/ncs/toolchains/b77d8c1312/usr/local/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: /home/ams/.cache/zephyr
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52dk, qualifiers: nrf52805
Parsing /home/ams/ncs/v2.9.0/zephyr/share/sysbuild/Kconfig
Loaded configuration '/home/ams/L9/build/_sysbuild/empty.conf'
Merged configuration '/home/ams/L9/build/_sysbuild/empty.conf'
Configuration saved to '/home/ams/L9/build/zephyr/.config'
Kconfig header saved to '/home/ams/L9/build/_sysbuild/autoconf.h'
-- 
   ************************
   * Running CMake for L9 *
   ************************

Loading Zephyr default modules (Zephyr base).-- Application: /home/ams/L9
-- CMake version: 3.21.0

-- Found Python3: /home/ams/ncs/toolchains/b77d8c1312/usr/local/bin/python (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: /home/ams/.cache/zephyr
-- Zephyr version: 3.7.99 (/home/ams/ncs/v2.9.0/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52dk, qualifiers: nrf52805
-- Found host-tools: zephyr 0.17.0 (/home/ams/ncs/toolchains/b77d8c1312/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/home/ams/ncs/toolchains/b77d8c1312/opt/zephyr-sdk)
-- Found Dtc: /home/ams/ncs/toolchains/b77d8c1312/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6") 
-- Found BOARD.dts: /home/ams/ncs/v2.9.0/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52805.dts
-- Generated zephyr.dts: /home/ams/L9/build/L9/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/ams/L9/build/L9/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /home/ams/L9/build/L9/zephyr/dts.cmake
Parsing /home/ams/ncs/v2.9.0/zephyr/Kconfig
Loaded configuration '/home/ams/ncs/v2.9.0/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52805_defconfig'
Merged configuration '/home/ams/L9/prj.conf'
Merged configuration '/home/ams/L9/build/L9/zephyr/.config.sysbuild'

warning: NRFX_NFCT (defined at modules/hal_nordic/nrfx/Kconfig:241, modules/hal_nordic/nrfx/Kconfig:241) has direct dependencies n with value n, but is currently being y-selected by the following symbols:
 - NFC_PLATFORM (defined at /home/ams/ncs/v2.9.0/nrf/subsys/nfc/lib/Kconfig:6), with value y, direct dependencies y (value: y)

error: Aborting due to Kconfig warnings

CMake Error at /home/ams/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/ams/ncs/v2.9.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  /home/ams/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  /home/ams/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/ams/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:9 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: L9

  Location: /home/ams/L9
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  /home/ams/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /home/ams/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /home/ams/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ams/L9/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: /home/ams/ncs/toolchains/b77d8c1312/usr/local/bin/cmake -DWEST_PYTHON=/home/ams/ncs/toolchains/b77d8c1312/usr/local/bin/python3.12 -B/home/ams/L9/build -GNinja -DBOARD=nrf52dk/nrf52805 -DNCS_TOOLCHAIN_VERSION=NONE -S/home/ams/ncs/v2.9.0/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/ams/L9

Parents Reply Children
Related