SPI for nrf9160dk_nrf9160 ERROR

Hi,

I am currently trying to use SPI for the nrf9160. I tried building the SPI_BITBANNG sample for the nrf9160dk_nrf9160_ns board for the nrf9160dk that I have.

However, when building, I get the following error:

Executing task: nRF Connect: Build: spi_bitbang/build_1 (active) 

Building spi_bitbang
west build --build-dir /Users/davidlu/nordic/myapps/spi_bitbang/build_1 /Users/davidlu/nordic/myapps/spi_bitbang

[0/24] Performing build step for 'tfm'
ninja: no work to do.
[2/16] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj 
ccache /opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_USER_CONFIG_FILE=\"nrf-config-user.h\" -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DTFM_PSA_API -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/opt/nordic/ncs/v2.2.0/zephyr/include -Izephyr/include/generated -I/opt/nordic/ncs/v2.2.0/zephyr/soc/arm/nordic_nrf/nrf91 -I/opt/nordic/ncs/v2.2.0/zephyr/lib/libc/newlib/include -I/opt/nordic/ncs/v2.2.0/zephyr/soc/arm/nordic_nrf/common/. -I/opt/nordic/ncs/v2.2.0/nrf/include -I/opt/nordic/ncs/v2.2.0/nrf/include/tfm -I/opt/nordic/ncs/v2.2.0/nrf/tests/include -Itfm/generated/interface/include -I/opt/nordic/ncs/v2.2.0/modules/hal/cmsis/CMSIS/Core/Include -I/opt/nordic/ncs/v2.2.0/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v2.2.0/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v2.2.0/zephyr/modules/hal_nordic/nrfx/. -I/opt/nordic/ncs/v2.2.0/nrfxlib/nrf_modem/include -Itfm/install/interface/include -Imodules/nrfxlib/nrfxlib/nrf_security/src/include/generated -I/opt/nordic/ncs/v2.2.0/nrfxlib/nrf_security/include -I/opt/nordic/ncs/v2.2.0/nrfxlib/nrf_security/include/mbedtls -I/opt/nordic/ncs/v2.2.0/mbedtls/include -I/opt/nordic/ncs/v2.2.0/mbedtls/include/mbedtls -I/opt/nordic/ncs/v2.2.0/mbedtls/include/psa -I/opt/nordic/ncs/v2.2.0/mbedtls/library -I/opt/nordic/ncs/v2.2.0/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/opt/nordic/ncs/v2.2.0/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Og -imacros /Users/davidlu/nordic/myapps/spi_bitbang/build_1/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/davidlu/nordic/myapps/spi_bitbang=CMAKE_SOURCE_DIR -fmacro-prefix-map=/opt/nordic/ncs/v2.2.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/opt/nordic/ncs/v2.2.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
In file included from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/toolchain/gcc.h:88,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/toolchain.h:50,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/sys/cbprintf.h:13,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/logging/log_msg.h:11,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/logging/log_core.h:9,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/logging/log.h:11,
                 from /Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:7:
../src/main.c: In function 'main':
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:83:41: error: '__device_dts_ord_DT_N_NODELABEL_spibb0_ORD' undeclared (first use in this function)
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro '_DO_CONCAT'
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:83:33: note: in expansion of macro '_CONCAT'
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:209:37: note: in expansion of macro 'DEVICE_NAME_GET'
  209 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:226:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  226 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:123:42: note: in expansion of macro 'DEVICE_DT_GET'
  123 |         const struct device *const dev = DEVICE_DT_GET(SPIBB_NODE);
      |                                          ^~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:83:41: note: each undeclared identifier is reported only once for each function it appears in
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro '_DO_CONCAT'
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:83:33: note: in expansion of macro '_CONCAT'
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:209:37: note: in expansion of macro 'DEVICE_NAME_GET'
  209 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:226:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  226 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:123:42: note: in expansion of macro 'DEVICE_DT_GET'
  123 |         const struct device *const dev = DEVICE_DT_GET(SPIBB_NODE);
      |                                          ^~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:83:41: error: '__device_dts_ord_DT_N_NODELABEL_spibb0_P_cs_gpios_IDX_0_PH_ORD' undeclared (first use in this function)
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro '_DO_CONCAT'
  132 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:83:33: note: in expansion of macro '_CONCAT'
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:209:37: note: in expansion of macro 'DEVICE_NAME_GET'
  209 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/device.h:226:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  226 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/drivers/gpio.h:340:25: note: in expansion of macro 'DEVICE_DT_GET'
  340 |                 .port = DEVICE_DT_GET(DT_GPIO_CTLR_BY_IDX(node_id, prop, idx)),\
      |                         ^~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/drivers/gpio.h:376:9: note: in expansion of macro 'GPIO_DT_SPEC_GET_BY_IDX'
  376 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:131:25: note: in expansion of macro 'GPIO_DT_SPEC_GET'
  131 |                 .gpio = GPIO_DT_SPEC_GET(SPIBB_NODE, cs_gpios),
      |                         ^~~~~~~~~~~~~~~~
In file included from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/arch/arm/aarch32/arch.h:20,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/arch/cpu.h:19,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/sys/cbprintf_internal.h:17,
                 from /opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/sys/cbprintf.h:101:
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/devicetree.h:190:36: error: 'DT_N_NODELABEL_spibb0_P_cs_gpios_IDX_0_VAL_pin' undeclared (first use in this function)
  190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/devicetree.h:3901:9: note: in definition of macro 'DT_CAT7'
 3901 |         a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
      |         ^~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/devicetree/gpio.h:164:9: note: in expansion of macro 'DT_PHA_BY_IDX'
  164 |         DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin)
      |         ^~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/drivers/gpio.h:341:24: note: in expansion of macro 'DT_GPIO_PIN_BY_IDX'
  341 |                 .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx),                 \
      |                        ^~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/drivers/gpio.h:376:9: note: in expansion of macro 'GPIO_DT_SPEC_GET_BY_IDX'
  376 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:131:25: note: in expansion of macro 'GPIO_DT_SPEC_GET'
  131 |                 .gpio = GPIO_DT_SPEC_GET(SPIBB_NODE, cs_gpios),
      |                         ^~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.2.0/zephyr/include/zephyr/devicetree.h:190:29: note: in expansion of macro 'DT_CAT'
  190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:17:25: note: in expansion of macro 'DT_NODELABEL'
   17 | #define SPIBB_NODE      DT_NODELABEL(spibb0)
      |                         ^~~~~~~~~~~~
/Users/davidlu/nordic/myapps/spi_bitbang/src/main.c:131:42: note: in expansion of macro 'SPIBB_NODE'
  131 |                 .gpio = GPIO_DT_SPEC_GET(SPIBB_NODE, cs_gpios),
      |                                          ^~~~~~~~~~
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/v2.2.0/bin/cmake --build /Users/davidlu/nordic/myapps/spi_bitbang/build_1

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

I also tried adding this to the .overlay file according to this ticket:

/{
    spibb0: spibb0 {
        compatible = "zephyr,spi-bitbang";
        status = "okay";
        #address-cells = <1>;
        #size-cells = <0>;
        clk-gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
        mosi-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
        miso-gpios = <&gpio0 6 0>;
        cs-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
    };
};

I have also attached my generate support information here below:

{
  "platform": {
    "os": "darwin",
    "osVersion": "Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000",
    "osKernel": "22.1.0",
    "vscode": "1.74.1",
    "electron": "19.1.8",
    "node": "v16.14.2"
  },
  "system": {
    "date": "2022-12-31T02:54:49.175Z",
    "vscodeRoot": "/Applications/Visual Studio Code.app/Contents/Resources/app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "71:26:00",
    "osUptime": "1382:21:57",
    "cpu": {
      "model": "Apple M1 Pro",
      "speed": "24 MHz",
      "count": 5
    },
    "memory": {
      "total": "32.00 GB",
      "free": "0.04 GB"
    }
  },
  "workspace": {
    "name": "myapps_nordic (Workspace)",
    "workspaceFile": "/Users/davidlu/nordic/myapps/myapps_nordic.code-workspace",
    "folders": [
      "/Users/davidlu/nordic/myapps/myfirstapp",
      "/Users/davidlu/nordic/myapps/mysecondapp",
      "/Users/davidlu/nordic/myapps/gpio_counter",
      "/Users/davidlu/nordic/myapps/nRF-Connect-SDK-Fundamentals",
      "/Users/davidlu/nordic/myapps/gpio_counter_1",
      "/Users/davidlu/nordic/myapps/at_client",
      "/Users/davidlu/nordic/myapps/at_client2",
      "/Users/davidlu/nordic/myapps/spi_bitbang"
    ]
  },
  "extensions": {
    "internal": {
      "nordic-semiconductor.nrf-connect": {
        "version": "2022.11.140",
        "path": "/Users/davidlu/.vscode/extensions/nordic-semiconductor.nrf-connect-2022.11.140-darwin-x64",
        "isActive": true
      },
      "nordic-semiconductor.nrf-terminal": {
        "version": "2022.11.29",
        "path": "/Users/davidlu/.vscode/extensions/nordic-semiconductor.nrf-terminal-2022.11.29",
        "isActive": true
      },
      "nordic-semiconductor.nrf-devicetree": {
        "version": "2022.11.153",
        "path": "/Users/davidlu/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2022.11.153",
        "isActive": true
      },
      "nordic-semiconductor.nrf-kconfig": {
        "version": "2022.11.50",
        "path": "/Users/davidlu/.vscode/extensions/nordic-semiconductor.nrf-kconfig-2022.11.50",
        "isActive": true
      }
    },
    "external": {
      "marus25.cortex-debug": null,
      "ms-vscode.cpptools": null,
      "ms-vscode.js-debug": "1.74.1",
      "ms-vscode.js-debug-companion": "1.0.18",
      "ms-vscode.vscode-js-profile-table": "1.0.3",
      "DavidAnson.vscode-markdownlint": "0.48.1",
      "esbenp.prettier-vscode": "9.10.3",
      "GrapeCity.gc-excelviewer": "4.2.56",
      "ms-azuretools.vscode-docker": "1.23.3",
      "ms-python.isort": "2022.8.0",
      "ms-python.python": "2022.20.1",
      "ms-python.vscode-pylance": "2022.12.20",
      "ms-toolsai.jupyter": "2022.11.1003412109",
      "ms-toolsai.jupyter-keymap": "1.0.0",
      "ms-toolsai.jupyter-renderers": "1.0.12",
      "ms-toolsai.vscode-jupyter-cell-tags": "0.1.6",
      "ms-toolsai.vscode-jupyter-slideshow": "0.1.5",
      "ms-vscode-remote.remote-containers": "0.266.1",
      "ms-vscode.cmake-tools": "1.12.27",
      "ms-vscode.cpptools-extension-pack": "1.3.0",
      "ms-vscode.cpptools-themes": "2.0.0",
      "ms-vscode.makefile-tools": "0.6.0",
      "trond-snekvik.gnu-mapfiles": "1.1.0",
      "twxs.cmake": "0.0.17"
    }
  },
  "tools": {
    "/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.15.1",
    "/Applications/SEGGER/JLink/JLinkExe": "7.80c",
    "/usr/local/bin/nrfjprog": "10.18.1",
    "nrfutil": "Not found",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/cmake": "3.20.5",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/west": "0.14.0",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/python3": "3.9.6",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/ninja": "1.10.2",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/gperf": "3.1",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/dtc": "1.6.1",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/gn": "2073",
    "/opt/nordic/ncs/toolchains/v2.2.0/bin/git": "2.37.3",
    "gdbPath": "/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb"
  },
  "sdks": [
    {
      "version": "2.2.0",
      "path": "/opt/nordic/ncs/v2.2.0"
    }
  ],
  "toolchains": [
    {
      "version": "2.2.0",
      "path": "/opt/nordic/ncs/toolchains/v2.2.0"
    }
  ],
  "connectedDevices": [
    {
      "serialNumber": "960062177"
    }
  ],
  "deviceProviders": [
    "nrfjprog"
  ],
  "config": {
    "nordic-semiconductor.nrf-connect": {
      "topdir": "${nrf-connect.sdk:2.2.0}",
      "toolchain": {
        "path": "${nrf-connect.toolchain:2.2.0}"
      },
      "ozonePath": "",
      "applications": [
        ".",
        "/Users/davidlu/nordic/myapps/mysecondapp",
        "${workspaceFolder:nRF-Connect-SDK-Fundamentals}/v2.x.x/lesson2/fund_less2_exer1",
        "/Users/davidlu/nordic/myapps/gpio_counter_1",
        "/Users/davidlu/nordic/myapps/at_client",
        "${workspaceFolder:nRF-Connect-SDK-Fundamentals}/v2.x.x/lesson2/fund_less2_exer2",
        "${workspaceFolder:nRF-Connect-SDK-Fundamentals}/v2.x.x/lesson3/fund_less3_exer1",
        "/Users/davidlu/nordic/myapps/spi_bitbang"
      ],
      "applicationOptions": {},
      "kconfig": {
        "interface": "kconfig",
        "executeInDefaultShell": false
      },
      "welcome": {
        "showOnStartup": true
      },
      "west": {
        "env": {
          "$base": "terminal"
        }
      },
      "boardRoots": [],
      "enableTelemetry": null,
      "taskBindings": {},
      "debugging": {
        "backend": "nRF Debug",
        "flash": true,
        "bindings": {}
      },
      "activeAppFollowActiveEditor": true
    },
    "nordic-semiconductor.nrf-terminal": {
      "terminalMode": "character",
      "scrollBack": 1000
    }
  },
  "environment": {
    "westExe": "west",
    "westEnv": {
      "ELECTRON_RUN_AS_NODE": "1",
      "GIT_EXEC_PATH": "/opt/nordic/ncs/toolchains/v2.2.0/Cellar/git/2.37.3/libexec/git-core",
      "HOME": "/Users/davidlu",
      "PATH": "/opt/nordic/ncs/toolchains/v2.2.0/bin:/opt/nordic/ncs/toolchains/v2.2.0/opt/bin:/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin:/opt/nordic/ncs/toolchains/v2.2.0/arm-zephyr-eabi/bin:/Users/davidlu/.pyenv/shims:/Users/davidlu/.pyenv/bin:/Users/davidlu/opt/anaconda3/bin:/Users/davidlu/opt/anaconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin",
      "ZEPHYR_BASE": "/opt/nordic/ncs/v2.2.0/zephyr",
      "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
      "ZEPHYR_SDK_INSTALL_DIR": "/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk",
      "USER": "davidlu"
    },
    "inherited": {
      "ELECTRON_RUN_AS_NODE": "1",
      "HOME": "/Users/davidlu",
      "PATH": "/Users/davidlu/.pyenv/shims:/Users/davidlu/.pyenv/bin:/Users/davidlu/opt/anaconda3/bin:/Users/davidlu/opt/anaconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin",
      "USER": "davidlu"
    },
    "toolchainPath": "/opt/nordic/ncs/toolchains/v2.2.0",
    "toolchainBinPath": "/opt/nordic/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin",
    "toolchainVersion": "2.2.0"
  },
  "terminal": {
    "shell": null,
    "defaultProfile": null
  }
}

 

I am using nRF Connect SDK v 2.2.0.

Do you have any suggestions on why this error is occurring and how to resolve it?

Thanks.

Related