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

Open Thingy 91 Projects in Segger Embedded Studio Error

Hi, 

i want to flash programs with the Segger Embedded Studio to my Thingy 91.
I already am able to flash hex files with the nRF Programmer to the thingy 91.
I installed the repository in the Master branch.
I am able to open any project with the nrf9160 board selected in SES and I also am able to flash it to the nrf9160

I want to experiment with the adxl362 sensor of the thingy 91. When I open a project, there is an error message like this:

Loading solution adxl362.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca20035 -DBOARD_DIR=C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362/build_nrf9160_pca20035ns -HC:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/SES/arm_segger_embedded_studio_v418_win_x86_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362'
Zephyr version: 2.0.99
-- Selected BOARD nrf9160_pca20035
-- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.6.2", minimum required is "0.6.0")
-- Cache files will be written to: C:\Users\Benjamin Bergmann\AppData\Local/.cache/zephyr
-- Loading C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035/nrf9160_pca20035.dts as base
-- Overlaying C:/Maturaprojekt_Master/ncs/zephyr/dts/common/common.dts
Device tree configuration written to C:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362/build_nrf9160_pca20035ns/zephyr/include/generated/generated_dts_board.conf
Parsing Kconfig tree in C:/Maturaprojekt_Master/ncs/zephyr/Kconfig
C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035/Kconfig.defconfig:53: WARNING: dt_hex_val is deprecated.
C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035/Kconfig.defconfig:60: WARNING: dt_hex_val is deprecated.
C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035/Kconfig.defconfig:63: WARNING: dt_hex_val is deprecated.
Loaded configuration 'C:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362/build_nrf9160_pca20035ns/zephyr/.config'
No change to 'C:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362/build_nrf9160_pca20035ns/zephyr/.config'
CMake Error at ../../../boards/CMakeLists.txt:13 (add_subdirectory):
add_subdirectory not given a binary directory but the given source
directory "C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035" is
not a subdirectory of "C:/Maturaprojekt_Master/ncs/zephyr/boards". When
specifying an out-of-tree source a binary directory must be explicitly
specified.


-- Configuring incomplete, errors occurred!
See also "C:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362/build_nrf9160_pca20035ns/CMakeFiles/CMakeOutput.log".
See also "C:/Maturaprojekt_Master/ncs/zephyr/samples/sensor/adxl362/build_nrf9160_pca20035ns/CMakeFiles/CMakeError.log".
Project load failed
Reported error: solution load command failed (1)

Do you have an idea how to solve this?

Thanks for your help and your answers!

Parents Reply Children
No Data
Related