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

Failed to open zephyr project on MacOS

After following the setup procedure and trying to open emStudio per the following image.

I get the following error:

So I ran the command manually

  zephyr git:(nrf91) cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=/Users/spoulsen/Projects/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/usr/local/gcc-arm-none-eabi-7-2018-q2-update -B/Users/spoulsen/Projects/ncs/nrf/samples/nrf9160/at_client/build -H/Users/spoulsen/Projects/ncs/nrf/samples/nrf9160/at_client

-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.7.1", minimum required is "3.4") 

-- Selected BOARD nrf9160_pca10090

Zephyr version: 1.13.99

Parsing Kconfig tree in /Users/spoulsen/Projects/ncs/zephyr/Kconfig

Loading /Users/spoulsen/Projects/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base

Merging /Users/spoulsen/Projects/ncs/nrf/samples/nrf9160/at_client/prj.conf

warning: GPIO (defined at

/Users/spoulsen/Projects/ncs/zephyr/soc/arm/nordic_nrf/Kconfig.defconfig:17,

soc/arm/nxp_imx/mcimx7_m4/Kconfig.defconfig.mcimx7_m4:29,

soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1052:30,

soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1062:30,

soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12:36,

soc/arm/nxp_lpc/lpc54xxx/Kconfig.defconfig.lpc54114_m0:22,

soc/arm/silabs_exx32/efm32hg/Kconfig.defconfig.efm32hg:15,

soc/arm/silabs_exx32/efm32pg12b/Kconfig.defconfig.efm32pg12b:15,

soc/arm/silabs_exx32/efm32wg/Kconfig.defconfig.efm32wg:15,

soc/arm/silabs_exx32/efr32fg1p/Kconfig.defconfig.efr32fg1p:15,

soc/arm/silabs_exx32/efr32mg12p/Kconfig.defconfig.efr32mg12p:15, drivers/gpio/Kconfig:9) was

assigned the value 'n' but got the value 'y'. You can check symbol information (including

dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the

manual), or in the Kconfig reference at

docs.zephyrproject.org/.../CONFIG_GPIO.html (which is updated regularly

from the master branch). See the 'Setting configuration values' section of the Board Porting Guide

as well.

warning: LOG_DEFAULT_LEVEL (defined at subsys/logging/Kconfig:137) was assigned the value '4' but

got the value ''. You can check symbol information (including dependencies) in the 'menuconfig'

interface (see the Application Development Primer section of the manual), or in the Kconfig

reference at docs.zephyrproject.org/.../CONFIG_LOG_DEFAULT_LEVEL.html

(which is updated regularly from the master branch). See the 'Setting configuration values' section

of the Board Porting Guide as well.

warning: NET_RAW_MODE (defined at subsys/net/ip/Kconfig:12) was assigned the value 'y' but got the

value 'n'. This symbol has no prompt, meaning assignments in configuration files have no effect on

it. It can only be set indirectly, via Kconfig defaults (e.g. in a Kconfig.defconfig file) or

through being 'select'ed or 'imply'd (note: try to avoid Kconfig 'select's except for trivial

promptless "helper" symbols without dependencies, as it ignores dependencies and forces symbols on).

You can check symbol information (including dependencies) in the 'menuconfig' interface (see the

Application Development Primer section of the manual), or in the Kconfig reference at

docs.zephyrproject.org/.../CONFIG_NET_RAW_MODE.html (which is updated

regularly from the master branch). See the 'Setting configuration values' section of the Board

Porting Guide as well. It covers Kconfig.defconfig files.

-- Loading /Users/spoulsen/Projects/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base

-- Overlaying /Users/spoulsen/Projects/ncs/zephyr/dts/common/common.dts

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 "/Users/spoulsen/Projects/ncs/zephyr/scripts/dts/extract_dts_includes.py", line 15, in <module>

    import yaml

ModuleNotFoundError: No module named 'yaml'

CMake Error at /Users/spoulsen/Projects/ncs/zephyr/cmake/dts.cmake:193 (message):

  command failed with return code: 1

Call Stack (most recent call first):

  /Users/spoulsen/Projects/ncs/zephyr/cmake/app/boilerplate.cmake:295 (include)

  CMakeLists.txt:9 (include)

-- Configuring incomplete, errors occurred!

See also "/Users/spoulsen/Projects/ncs/nrf/samples/nrf9160/at_client/build/CMakeFiles/CMakeOutput.log".

  zephyr git:(nrf91)  

Related