This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cloning a git repository to build for nrf9160

HI

i want to build the examples in git repository "https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160" for my nrf9160 using segger embedded studio.

i downloaded the repository and unzip it to the "C:\gnuarmemb\v1.3.2\nrf\boards\arm" the project is shown under other nordic projects but when i try to build it failed. am i mistaking in cloning the repository or any other issue is there.

Kindly help me out by providing the steps to follow for using a repository from git to segger embedded studio. at what locations i need to do some modification for a new repository or a new code modified.

Parents
  • Creating solution adc.emProject
    C:/gnuarmemb/v1.4.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=C:\gnuarmemb\v1.3.2\zephyr\boards\arm\nrf9160dk_nrf9160 -BC:\Users\Win8\fw-nrfconnect-nrf\fw-nrfconnect-nrf\samples\nrf9160\adc\build_nrf9160dk_nrf9160ns -SC:\Users\Win8\fw-nrfconnect-nrf\fw-nrfconnect-nrf\samples\nrf9160\adc -DNCS_TOOLCHAIN_VERSION=1.4.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\gnuarmemb\EmbeddedStudio_ARM_Nordic_v510d_win_x64\arm_segger_embedded_studio_v510d_win_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Application: C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc
    -- Zephyr version: 2.3.0-rc1 (C:/gnuarmemb/v1.3.2/zephyr)
    -- Found Python3: C:/gnuarmemb/v1.4.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Board: nrf9160dk_nrf9160ns
    -- Found west: C:/gnuarmemb/v1.4.0/toolchain/opt/bin/Scripts/west.exe (found suitable version "0.7.2", minimum required is "0.7.1")
    -- Found dtc: C:/gnuarmemb/v1.4.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/gnuarmemb/v1.4.0/toolchain/opt)
    -- Found BOARD.dts: C:/gnuarmemb/v1.3.2/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts
    -- Generated zephyr.dts: C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc/build_nrf9160dk_nrf9160ns/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc/build_nrf9160dk_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h
    Parsing C:/gnuarmemb/v1.3.2/zephyr/Kconfig
    Loaded configuration 'C:/gnuarmemb/v1.3.2/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns_defconfig'
    Merged configuration 'C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc/prj.conf'
    -- Configuring incomplete, errors occurred!
    -- Using NCS Toolchain 1.4.0 for building. (C:/gnuarmemb/v1.4.0/toolchain/cmake)

    error: NET_RAW_MODE (defined at subsys/net/ip/Kconfig:52) is assigned in a configuration file, but
    is not directly user-configurable (has no prompt). It gets its value indirectly from other symbols.
    See docs.zephyrproject.org/.../CONFIG_NET_RAW_MODE.html and/or look up
    NET_RAW_MODE 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:/gnuarmemb/v1.3.2/zephyr/cmake/kconfig.cmake:217 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/gnuarmemb/v1.3.2/zephyr/cmake/app/boilerplate.cmake:506 (include)
    CMakeLists.txt:9 (include)



    error: cmake failed
    create_nordic_project.py failed (1)

    clone the library but when try to build this error came in.

Reply
  • Creating solution adc.emProject
    C:/gnuarmemb/v1.4.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=C:\gnuarmemb\v1.3.2\zephyr\boards\arm\nrf9160dk_nrf9160 -BC:\Users\Win8\fw-nrfconnect-nrf\fw-nrfconnect-nrf\samples\nrf9160\adc\build_nrf9160dk_nrf9160ns -SC:\Users\Win8\fw-nrfconnect-nrf\fw-nrfconnect-nrf\samples\nrf9160\adc -DNCS_TOOLCHAIN_VERSION=1.4.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\gnuarmemb\EmbeddedStudio_ARM_Nordic_v510d_win_x64\arm_segger_embedded_studio_v510d_win_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Application: C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc
    -- Zephyr version: 2.3.0-rc1 (C:/gnuarmemb/v1.3.2/zephyr)
    -- Found Python3: C:/gnuarmemb/v1.4.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Board: nrf9160dk_nrf9160ns
    -- Found west: C:/gnuarmemb/v1.4.0/toolchain/opt/bin/Scripts/west.exe (found suitable version "0.7.2", minimum required is "0.7.1")
    -- Found dtc: C:/gnuarmemb/v1.4.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/gnuarmemb/v1.4.0/toolchain/opt)
    -- Found BOARD.dts: C:/gnuarmemb/v1.3.2/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts
    -- Generated zephyr.dts: C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc/build_nrf9160dk_nrf9160ns/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc/build_nrf9160dk_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h
    Parsing C:/gnuarmemb/v1.3.2/zephyr/Kconfig
    Loaded configuration 'C:/gnuarmemb/v1.3.2/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns_defconfig'
    Merged configuration 'C:/Users/Win8/fw-nrfconnect-nrf/fw-nrfconnect-nrf/samples/nrf9160/adc/prj.conf'
    -- Configuring incomplete, errors occurred!
    -- Using NCS Toolchain 1.4.0 for building. (C:/gnuarmemb/v1.4.0/toolchain/cmake)

    error: NET_RAW_MODE (defined at subsys/net/ip/Kconfig:52) is assigned in a configuration file, but
    is not directly user-configurable (has no prompt). It gets its value indirectly from other symbols.
    See docs.zephyrproject.org/.../CONFIG_NET_RAW_MODE.html and/or look up
    NET_RAW_MODE 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:/gnuarmemb/v1.3.2/zephyr/cmake/kconfig.cmake:217 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/gnuarmemb/v1.3.2/zephyr/cmake/app/boilerplate.cmake:506 (include)
    CMakeLists.txt:9 (include)



    error: cmake failed
    create_nordic_project.py failed (1)

    clone the library but when try to build this error came in.

Children
No Data
Related