M
MJHanagan

  • Feb 11, 2023
  • Joined Feb 11, 2023
  • 0 best answers
  • Did the Init Repo and got same error:

    Executing task: west build -b circuitdojo_feather_nrf9160_ns 
    
    -- west build: generating a build system
    -- Build type: debug 🚀
    -- Backend: golioth 🎒
    -- Version: 0.1.4-70-gf802216
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Users/micha/Documents/Zephyr/nfed/samples/tracker
    -- Found Python3: C:/Users/micha/.zephyrtools/env/Scripts/python.exe (found suitable exact version "3.11.2") found components: Interpreter 
    -- Cache files will be written to: C:/Users/micha/Documents/Zephyr/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/Users/micha/Documents/Zephyr/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: circuitdojo_feather_nrf9160_ns
    -- Found host-tools: zephyr 0.15.1 (C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Found toolchain: zephyr 0.15.1 (C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Could NOT find Dtc (missing: DTC) (Required is at least version "1.4.6")
    -- Found BOARD.dts: C:/Users/micha/Documents/Zephyr/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns.dts
    -- Found devicetree overlay: C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.overlay
    node '/psctl' compatible 'circuitdojo,psctl' has unknown vendor prefix 'circuitdojo'
    -- Generated zephyr.dts: C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/zephyr/dts.cmake
    
    warning: MBEDTLS_HEAP_SIZE (defined at
    C:/Users/micha/Documents/Zephyr/nrf\subsys/net/openthread/Kconfig.defconfig:141,
    C:/Users/micha/Documents/Zephyr/nrf\subsys\dfu\fmfu_fdev/Kconfig:21,
    C:/Users/micha/Documents/Zephyr/zephyr/modules/mbedtls/Kconfig:194,
    C:/Users/micha/Documents/Zephyr/nrfxlib\nrf_security/Kconfig:85, modules\mbedtls\Kconfig:194) was
    assigned the value '49152' but got the value ''. Check these unsatisfied dependencies:
    (NET_L2_OPENTHREAD || FMFU_FDEV || (MBEDTLS_ENABLE_HEAP && MBEDTLS) || (MBEDTLS_ENABLE_HEAP &&
    NRF_SECURITY) || (MBEDTLS_ENABLE_HEAP && MBEDTLS && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HEAP_SIZE and/or look up
    MBEDTLS_HEAP_SIZE 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.
    
    
    warning: Experimental symbol NET_SOCKETS_SOCKOPT_TLS is enabled.
    
    
    warning: Experimental symbol NET_SOCKETS_ENABLE_DTLS is enabled.
    
    Parsing C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/Kconfig
    Loaded configuration 'C:/Users/micha/Documents/Zephyr/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns_defconfig'
    Merged configuration 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/conf/prj.conf'
    Merged configuration 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/conf/backends/golioth.conf'
    Merged configuration 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/conf/debug.conf'
    Merged configuration 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/conf/version.conf'
    Merged configuration 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.conf'
    Configuration saved to 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/zephyr/.config'
    Kconfig header saved to 'C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Error at C:/Users/micha/Documents/Zephyr/zephyr/cmake/modules/extensions.cmake:2090 (message):
      Assertion failed: Cannot locate SUPL Client library, should be located in
      your nrf repo ext/lib/bin/supl.
    Call Stack (most recent call first):
      C:/Users/micha/Documents/Zephyr/nrf/ext/CMakeLists.txt:13 (assert)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/micha/Documents/Zephyr/nfed/samples/tracker/build/CMakeFiles/CMakeError.log".
    FATAL ERROR: command exited with status 1: 'C:\Users\micha\.zephyrtools\cmake\cmake-3.22.0-windows-x86_64\bin\cmake.EXE' '-DWEST_PYTHON=C:\Users\micha\.zephyrtools\env\Scripts\python.exe' '-BC:\Users\micha\Documents\Zephyr\nfed\samples\tracker\build' -GNinja -DBOARD=circuitdojo_feather_nrf9160_ns '-SC:\Users\micha\Documents\Zephyr\nfed\samples\tracker'
    
     *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command west build -b circuitdojo_feather_nrf9160_ns" terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
  • Do I need to go back and do the Zephyr Tools: Init Repo command again and pick a new folder?

  • I go this error attempting to build the nrf9160 tracker sample code:

    Could NOT find Dtc (missing: DTC) (Required is at least version “1.4.6”)

    Any ideas on how to fix this? I am new to all things nrf9160 and Zephyr.

    Here is the full output from the build command:

     *  Executing task: west build -b circuitdojo_feather_nrf9160_ns 
    
    -- west build: generating a build system
    -- Build type: debug 🚀
    -- Backend: golioth 🎒
    -- Version: 0.1.4-70-gf802216
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Users/micha/Zephyr Build/nfed/samples/tracker
    -- Found Python3: C:/Users/micha/.zephyrtools/env/Scripts/python.exe (found suitable exact version "3.11.2") found components: Interpreter 
    -- Cache files will be written to: C:/Users/micha/Zephyr Build/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/Users/micha/Zephyr Build/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: circuitdojo_feather_nrf9160_ns
    -- Found host-tools: zephyr 0.15.1 (C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Found toolchain: zephyr 0.15.1 (C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- **Could NOT find Dtc (missing: DTC) (Required is at least version "1.4.6")**
    -- Found BOARD.dts: C:/Users/micha/Zephyr Build/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns.dts
    -- Found devicetree overlay: C:/Users/micha/Zephyr
    -- Found devicetree overlay: Build/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.overlay
    <command-line>: fatal error: C:/Users/micha/Zephyr: No such file or directory
    compilation terminated.
    CMake Error at C:/Users/micha/Zephyr Build/zephyr/cmake/modules/dts.cmake:191 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      C:/Users/micha/Zephyr Build/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
      C:/Users/micha/Zephyr Build/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/Users/micha/Zephyr Build/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:74 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'C:\Users\micha\.zephyrtools\cmake\cmake-3.22.0-windows-x86_64\bin\cmake.EXE' '-DWEST_PYTHON=C:\Users\micha\.zephyrtools\env\Scripts\python.exe' '-BC:\Users\micha\Zephyr Build\nfed\samples\tracker\build' -GNinja -DBOARD=circuitdojo_feather_nrf9160_ns '-SC:\Users\micha\Zephyr Build\nfed\samples\tracker'
    
     *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command west build -b circuitdojo_feather_nrf9160_ns" terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    Terms and Conditions | Privacy Policy