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

Continue problems with Sogger SDK on MacOs

Hello
I try to open a nRF project on a MacOs with the correct installation of all the toolchain and zephir. However during the configure I have always problems one solved new one appears.

My last output is

Loading solution mqtt_simple.emProject
Executing load commands
/usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/Users/fred/Nordic/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/Users/fred/Nordic -B/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns -H/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -D WEST=~/Library/Python/3.7/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Users/fred/Nordic/arm_segger_embedded_studio/html/configure_nordic_project_menuconfig.py
Zephyr version: 2.1.0
-- Selectfreded BOARD nrf9160_pca10090ns
-- Found west: /Users/fred/Library/Python/3.7/bin/west (found suitable version "0.6.3", minimum required is "0.6.0")
-- Loading /Users/fred/Nordic/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
Devicetree configuration written to /Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/include/generated/generated_dts_board.conf

/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:213: warning: attempt to assign the value 'n' to the undefined symbol NRFXLIB_NFC

/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:316: warning: attempt to assign the value 'n' to the undefined symbol NRFX_SWI

/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:541: warning: attempt to assign the value 'y' to the undefined symbol DATA_ENDIANNESS_LITTLE

/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:581: warning: attempt to assign the value 'y' to the undefined symbol LDREX_STREX_AVAILABLE

/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:607: warning: attempt to assign the value 'n' to the undefined symbol X86_64

Parsing Kconfig tree in /Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/Kconfig
/Users/fred/Nordic/ncs/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration '/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config'
/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:1140: warning: attempt to assign the value 'y' to the undefined symbol HAS_CMSIS

/Users/fred/Nordic/ncs/nrf/samples/nrf9160/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:1169: warning: attempt to assign the value 'n' to the undefined symbol LINK_WHOLE_ARCHIVE

Error: Aborting due to non-whitelisted Kconfig warning '/Users/fred/Nordic/ncs/nrf/samples/nrf916
0/mqtt_simple/build_nrf9160_pca10090ns/zephyr/.config:213: warning: attempt to assign the value 'n'
to the undefined symbol NRFXLIB_NFC'. Note: If this warning doesn't point to an actual problem, you
can add it to the whitelist at the top of
/Users/fred/Nordic/ncs/zephyr/scripts/kconfig/kconfig.py.

CMake Error at /Users/fred/Nordic/ncs/zephyr/cmake/kconfig.cmake:210 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /Users/fred/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake:461 (include)
  CMakeLists.txt:10 (include)


-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)
-----------------
Zephyr 2.11
nrf 1.1.0
Segger 4.30C

Macos High Sierra



Thanks

Federico

Parents Reply
  • Hi Skxo
    After to have installed all the Nordik  toolchain following the instruction of "Getting Start Assistant" you must install the
    Nrf command line tool the you found here
    Now to be able to compile you need to run the script

    > source <Nordik SDK>/ncs/zephyr/zephyr-env.sh

    that will be set the PATH of the toolchain.

    Now you cd in the direcory of the project and
    > west build -b nrf9160_pca10090ns -d build

    in build will be create the ns app
    To flash the app to the board

    > west flash

    If you want clean the project the easy way is
    > rm -rf build
    That's all
    Enjoy

    Fred

Children
No Data
Related