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

Using Segger Embedded Studio and Zephry for nRF52840

Is there an example for setting up a Segger Embedded Studio project for using an nRF52840 with Zephyr.  The instructions on the Zephry site for adding Zephyr files to a project build do not seem to apply to how SES sets up a project.

Parents Reply Children
  • Simon,

    I do not execute the pip3 install of requirements for nrf scripts, because this project does not use any Nordic library and therefore it does not have an "nrf" directory.

    However, just to be sure...
    I have re-created the project from the start following all of the instructions in the "Getting Started Assistant" including cloning "mcuboot", "nrf" and "nrxlib" (in addition to cloning zephyr).  I followed all instructions, adding the two new pip3 commands suggested above.

    I got the same error message again.

    This time I walked through the build log in emStudio line-by-line and I noticed that there was a problem in my source code directory with a CMakeLists.txt file.  I have never used CMake before this, but I managed to fix the problems with the subdirectories.

    The "Open nRF Connect SDK Project" now runs without an error.  I have no idea why a problem in my CMakeLists.txt file would be reported as a missing file in the Zephyr build.

    I mention all of this in detail in case someone else gets a similar error message in their attempt to create their own project.
    My advice to them is read the build log details.  The error messages can cause confusion.

    I appreciate all of your support and patience in helping me figure this out.

    I have one final question before we can close this thread.  If I am not using any Nordic library and do not want "mcuboot" for this nRF52840 project, do you think I actually need the clone of "mcuboot", "nrf" and "nrxlib" to make emStudio work properly?

    -Craig

Related