SPI error: FATAL ERROR: command exited with status 1:

I'm trying to connect to SPI modem and I did tried tons of solutions, nothing worked or even passed the build stage.

can you guide me how I can at least see what's the error? the only error i get for all examples is similar to this.

FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.2.0\opt\bin\cmake.EXE' --build 'c:\SecureGatewayGen3\khaled\espi\build'

Thank you

Parents

  • error: UART_0_NRF_UARTE (defined at drivers/serial/Kconfig.nrfx:64) is assigned in a configuration
    file, but is not directly user-configurable (has no prompt). It gets its value indirectly from other
    symbols. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_0_NRF_UARTE and/or look
    up UART_0_NRF_UARTE 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.
    
    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:92 (include_boilerplate)
      C:/ncs/v2.2.0/zephyr/cmake/app/boilerplate.cmake:25 (find_package)
      CMakeLists.txt:9 (include)
    
    
    -- 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:\SecureGatewayGen3\khaled\spi\build_1' -GNinja -DBOARD=nrf9160dk_nrf9160_ns -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=c:/SecureGatewayGen3/khaled/spi/prj.conf -DBOARD_ROOT:STRING=c:/SecureGatewayGen3/khaled/espi '-Sc:\SecureGatewayGen3\khaled\spi'

Reply

  • error: UART_0_NRF_UARTE (defined at drivers/serial/Kconfig.nrfx:64) is assigned in a configuration
    file, but is not directly user-configurable (has no prompt). It gets its value indirectly from other
    symbols. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_0_NRF_UARTE and/or look
    up UART_0_NRF_UARTE 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.
    
    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:92 (include_boilerplate)
      C:/ncs/v2.2.0/zephyr/cmake/app/boilerplate.cmake:25 (find_package)
      CMakeLists.txt:9 (include)
    
    
    -- 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:\SecureGatewayGen3\khaled\spi\build_1' -GNinja -DBOARD=nrf9160dk_nrf9160_ns -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=c:/SecureGatewayGen3/khaled/spi/prj.conf -DBOARD_ROOT:STRING=c:/SecureGatewayGen3/khaled/espi '-Sc:\SecureGatewayGen3\khaled\spi'

Children
No Data
Related