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

Import NCS Existing Zephyr project (not sample) to SES

Hi,

I'm considering shifting to SES (from VS-code) to get debug capabilities.

(Zephyr application developed under NCS tag v1.5.1)

I tried to import my project doing the following:

1. File -> Open nRF connect SDK project

2. Projects: Chose the application path (where /src & CMakeLists.txt & prj.conf are located)

2. Board Name: Chose the path to my proprietary board

3. Defined the build directory

4. Clicked OK, got an error message - please see error log, it seems that something is wrong CMakeLists.txt (maybe it does not recognize my it?)

appreciate your ideas

Erez.

Creating solution augury_app.emProject
  cmake -GNinja -DBOARD=canary_proto_rev_3 -DBOARD_DIR=/home/erezs/workspace/canary/canary-ep-ses/boards/arm/canary_proto_rev_3 -B/home/erezs/workspace/canary/canary-ep-ses/augury_app/build_canary_proto_rev_3 -S/home/erezs/workspace/canary/canary-ep-ses/augury_app -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/home/erezs/workspace/ncs -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/opt/SEGGER/Embedded-Studio-ARM-Nordic/html/configure_nordic_project_menuconfig.py
  -- Application: /home/erezs/workspace/canary/canary-ep-ses/augury_app
  -- Zephyr version: 2.4.99 (/home/erezs/workspace/ncs/zephyr)
  -- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.6") found components: Interpreter 
  -- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
  -- Board: canary_proto_rev_3
  -- Cache files will be written to: /home/erezs/.cache/zephyr
  -- Found dtc: /usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
  -- Found toolchain: gnuarmemb (/home/erezs/workspace/ncs)
  -- Configuring incomplete, errors occurred!
  CMake Error at /home/erezs/workspace/ncs/zephyr/cmake/compiler/gcc/generic.cmake:8 (message):
    Zephyr was unable to find the toolchain.  Is the environment misconfigured?
  
    User-configuration:
  
    ZEPHYR_TOOLCHAIN_VARIANT: gnuarmemb
  
    Internal variables:
  
    CROSS_COMPILE: /home/erezs/workspace/ncs/bin/arm-none-eabi-
  
    TOOLCHAIN_HOME: /home/erezs/workspace/ncs
  
  Call Stack (most recent call first):
    /home/erezs/workspace/ncs/zephyr/cmake/generic_toolchain.cmake:71 (include)
    /home/erezs/workspace/ncs/zephyr/cmake/app/boilerplate.cmake:532 (include)
    CMakeLists.txt:43 (include)
  
  
  
  error: cmake failed
  create_nordic_project.py failed (1)

Parents Reply Children
No Data
Related