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

Segger Embedded Studio for RF9160 - solution load command failed (1)

Hi,

I've used the nRF connect 'Getting Started' software and tutorial to setup a development environment, however i am having problems with the "Set up a project in SEGGER Embedded Studio" stage.

When doing "Open nRF Connect SDK Project." i get an error saying the asset_tracker.emProject failed to load,..

Loading solution asset_tracker.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=D:/nrf9160/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BD:/nrf9160/ncs/nrf/samples/nrf9160/asset_tracker/build -HD:/nrf9160/ncs/nrf/samples/nrf9160/asset_tracker
-- Selected BOARD nrf9160_pca10090
Zephyr version: 1.13.99
Parsing Kconfig tree in D:/nrf9160/ncs/nrf/samples/nrf9160/asset_tracker/Kconfig
Loading D:/nrf9160/ncs/nrf/samples/nrf9160/asset_tracker/build/zephyr/.config as base
-- Loading D:/nrf9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
-- Overlaying D:/nrf9160/ncs/zephyr/dts/common/common.dts
nrf9160_pca10090.dts_compiled: Warning (unit_address_format): /soc/adc@0x4000e000: unit name should not have leading "0x"
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40008000: duplicate unit-address (also used in node /soc/i2c@40008000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40009000: duplicate unit-address (also used in node /soc/i2c@40009000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000a000: duplicate unit-address (also used in node /soc/i2c@4000a000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000b000: duplicate unit-address (also used in node /soc/i2c@4000b000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40008000: duplicate unit-address (also used in node /soc/spi@40008000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@40008000: duplicate unit-address (also used in node /soc/spi@40008000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40009000: duplicate unit-address (also used in node /soc/spi@40009000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@40009000: duplicate unit-address (also used in node /soc/spi@40009000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000a000: duplicate unit-address (also used in node /soc/spi@4000a000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@4000a000: duplicate unit-address (also used in node /soc/spi@4000a000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000b000: duplicate unit-address (also used in node /soc/spi@4000b000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@4000b000: duplicate unit-address (also used in node /soc/spi@4000b000)
nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/clock@40005000: duplicate unit-address (also used in node /soc/power@40005000)
Traceback (most recent call last):
File "D:/nrf9160/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 15, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
CMake Error at D:/nrf9160/ncs/zephyr/cmake/dts.cmake:193 (message):
command failed with return code: 1
Call Stack (most recent call first):
D:/nrf9160/ncs/zephyr/cmake/app/boilerplate.cmake:295 (include)
CMakeLists.txt:9 (include)


-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)

-------------------------------------

It looks like "import yaml ModuleNotFoundError: No module named 'yaml'" might be the problem,. have i missed a setup, or is the documentation missing a step ?

regards, Matthew.

Parents Reply Children
No Data
Related