Hello,
I'm having issues when building the peripheral_nfc_pairing and central_nfc_pairing samples from ncs 2.2.0 in VSCode. I've build before and haven't gotten any errors. I saw that post and try to update SDK via Toolchain Manager and run "west update" with the command prompt, but this doesn't work. When building I get the following in the terminal:
Building central_nfc_pairing /bin/sh -c west build --build-dir /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/build /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing --pristine --board nrf52dk_nrf52832 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="/home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf" WARNING: ZEPHYR_BASE=/home/andreribeiro/zephyrproject/zephyr in the calling environment will be used, but the zephyr.base config option in /home/andreribeiro/ncs/v2.2.0 is "zephyr" which implies a different ZEPHYR_BASE=/home/andreribeiro/ncs/v2.2.0/zephyr To disable this warning in the future, execute 'west config --global zephyr.base-prefer env' -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing -- CMake version: 3.20.5 -- Found Python3: /home/andreribeiro/ncs/toolchains/v2.2.0/usr/local/bin/python3.8 (found suitable exact version "3.8.2") found components: Interpreter -- Cache files will be written to: /home/andreribeiro/.cache/zephyr -- Zephyr version: 3.3.99 (/home/andreribeiro/zephyrproject/zephyr) -- Found west (found suitable version "0.14.0", minimum required is "0.7.1") -- Board: nrf52dk_nrf52832 -- Found host-tools: zephyr 0.15.1 (/home/andreribeiro/ncs/toolchains/v2.2.0/opt/zephyr-sdk) -- Found toolchain: zephyr 0.15.1 (/home/andreribeiro/ncs/toolchains/v2.2.0/opt/zephyr-sdk) -- Found Dtc: /home/andreribeiro/ncs/toolchains/v2.2.0/usr/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: /home/andreribeiro/zephyrproject/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts -- Found devicetree overlay: /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/nrf52dk_nrf52832.overlay -- Generated zephyr.dts: /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/build/zephyr/dts.cmake Parsing /home/andreribeiro/zephyrproject/zephyr/Kconfig Loaded configuration '/home/andreribeiro/zephyrproject/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig' Merged configuration '/home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf' /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:7: warning: attempt to assign the value 'y' to the undefined symbol NCS_SAMPLES_DEFAULTS /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:16: warning: attempt to assign the value 'y' to the undefined symbol BT_SCAN /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:17: warning: attempt to assign the value 'y' to the undefined symbol BT_SCAN_FILTER_ENABLE /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:18: warning: attempt to assign the value '1' to the undefined symbol BT_SCAN_ADDRESS_CNT /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:34: warning: attempt to assign the value 'y' to the undefined symbol ST25R3911B_LIB /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:37: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:38: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_RECORD /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:39: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_TEXT_RECORD /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:40: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_MSG /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:41: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_PARSER /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:42: warning: attempt to assign the value 'y' to the undefined symbol NFC_T2T_PARSER /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:43: warning: attempt to assign the value 'y' to the undefined symbol NFC_T4T_HL_PROCEDURE /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:44: warning: attempt to assign the value 'y' to the undefined symbol NFC_TNEP_POLLER /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:45: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_LE_OOB_REC /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:46: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_LE_OOB_REC_PARSER /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:47: warning: attempt to assign the value 'y' to the undefined symbol NFC_NDEF_CH_MSG /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:48: warning: attempt to assign the value 'y' to the undefined symbol NFC_TNEP_CH /home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf:66: warning: attempt to assign the value 'y' to the undefined symbol DK_LIBRARY error: Aborting due to Kconfig warnings CMake Error at /home/andreribeiro/zephyrproject/zephyr/cmake/modules/kconfig.cmake:329 (message): command failed with return code: 1 Call Stack (most recent call first): /home/andreribeiro/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:113 (include) /home/andreribeiro/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /home/andreribeiro/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:9 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: /home/andreribeiro/ncs/toolchains/v2.2.0/usr/local/bin/cmake -DWEST_PYTHON=/home/andreribeiro/ncs/toolchains/v2.2.0/usr/local/bin/python3.8 -B/home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/build -GNinja -DBOARD=nrf52dk_nrf52832 -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=/home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing/prj.conf -S/home/andreribeiro/ncs/v2.2.0/nrf/samples/bluetooth/central_nfc_pairing
Any advice would be greatly appreciated.