I am attempting to install the nRF Connect SDK on my CentOS 8 machine. It looked like it installed correctly, but when I attempt to load the zephyr sample "Hello World" in the SES application, it errors out with the below messages. My initial guess is that the StudioDir variable is set incorrectly. Does anyone know how to globally reset it?
Creating solution hello_world.emProject
cmake -GNinja -DBOARD=thingy91_nrf9160ns -DBOARD_DIR=/home/rs/Downloads/nrf/boards/arm/thingy91_nrf9160 -B/home/rs/Downloads/zephyr/samples/hello_world/build_thingy91_nrf9160ns -S/home/rs/Downloads/zephyr/samples/hello_world -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/home/rs/Downloads/EmbeddedStudio_ARM_Nordic_v534a_linux_x64/arm_segger_embedded_studio_v534a_linux_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Application: /home/rs/Downloads/zephyr/samples/hello_world
-- Zephyr version: 2.4.99 (/home/rs/Downloads/zephyr)
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.3") found components: Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: thingy91_nrf9160ns
-- Cache files will be written to: /home/rs/.cache/zephyr
-- Found toolchain: gnuarmemb (/opt/gnuarmemb)
-- Found BOARD.dts: /home/rs/Downloads/nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160ns.dts
-- Generated zephyr.dts: /home/rs/Downloads/zephyr/samples/hello_world/build_thingy91_nrf9160ns/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/rs/Downloads/zephyr/samples/hello_world/build_thingy91_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h
Parsing /home/rs/Downloads/zephyr/Kconfig
Loaded configuration '/home/rs/Downloads/nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160ns_defconfig'
Merged configuration '/home/rs/Downloads/zephyr/samples/hello_world/prj.conf'
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): /home/rs/Downloads/zephyr/cmake/app/boilerplate.cmake
FATAL ERROR: no west workspace found from "/home/rs/Downloads/zephyr"; "west topdir" requires one.
Things to try:
- Change directory to somewhere inside a west workspace and retry.
- Set ZEPHYR_BASE to a zephyr repository path in a west workspace.
- Run "west init" to set up a workspace here.
- Run "west init -h" for additional information.
/home/rs/Downloads/nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160ns_defconfig:35: warning: attempt to assign the value 'y' to the undefined symbol ADP536X
error: Aborting due to Kconfig warnings
CMake Error at /home/rs/Downloads/zephyr/cmake/kconfig.cmake:255 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/rs/Downloads/zephyr/cmake/app/boilerplate.cmake:507 (include)
/home/rs/Downloads/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
/home/rs/Downloads/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:5 (find_package)
error: cmake failed
create_nordic_project.py failed (1)