Hi,
I was trying to load the sample example code for Assets tracker in SEGGER Embedded Studio for ARM V4.20a but i encountered with some error.
Transcript & Output:-
Loading solution asset_tracker.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca20035ns -DBOARD_DIR=C:/Users/Akash/Documents/test-nordiac/ncs/nrf/boards/arm/nrf9160_pca20035 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/Program Files (x86)/GNU Tools Arm Embedded/7 2018-q2-update -BC:/Users/Akash/Documents/test-nordiac/ncs/nrf/applications/asset_tracker/build_nrf9160_pca20035ns -HC:/Users/Akash/Documents/test-nordiac/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/Users/Akash/Downloads/nrf9160 dep/arm_segger_embedded_studio_v420a_win_x86_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/Users/Akash/Documents/test-nordiac/ncs/nrf/applications/asset_tracker'
Zephyr version: 1.14.99
-- Selected BOARD nrf9160_pca20035ns
-- Found west: C:/Python38/Scripts/west.exe (found suitable version "0.6.3", minimum required is "0.5.6")
-- Cache files will be written to: C:\Users\Akash\AppData\Local/.cache/zephyr
USING OUT OF TREE BOARD
-- Loading C:/Users/Akash/Documents/test-nordiac/ncs/nrf/boards/arm/nrf9160_pca20035/nrf9160_pca20035ns.dts as base
-- Overlaying C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/dts/common/common.dts
Traceback (most recent call last):
File "C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 148, in generate_bus_defines
parent_binding = get_binding(parent_path)
File "C:\Users\Akash\Documents\Nordic_9160\ncs\zephyr\scripts\dts\extract\globals.py", line 300, in get_binding
return bindings[compat]
KeyError: 'nordic,nrf-spim'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 506, in <module>
main()
File "C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 492, in main
generate_defines()
File "C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 435, in generate_defines
generate_node_defines(node_path)
File "C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 111, in generate_node_defines
generate_bus_defines(node_path)
File "C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 151, in generate_bus_defines
raise Exception("{0} defines parent {1} as bus master, but {1} is not "
Exception: /soc/peripheral@40000000/spi@b000/adxl362@0 defines parent /soc/peripheral@40000000/spi@b000 as bus master, but /soc/peripheral@40000000/spi@b000 is not configured as bus master in binding
CMake Error at C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/cmake/dts.cmake:179 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/Users/Akash/Documents/Nordic_9160/ncs/zephyr/cmake/app/boilerplate.cmake:528 (include)
CMakeLists.txt:11 (include)
-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)
Machine Details:-
Windows 10
python version is 3.8.0