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

Segger Embedded Studio Environment Options, Building, Global Macros

Hi, following the IOS-nRF-MESH-Libary examples. Using Segger Embedded Studio 

Using Segger Embedded Studio 4.42, Tools, Options, Environment Options, Global Macros

SDK_ROOT = /Documents/NordicSemi/Mesh/nRF5SDK160098a08e2/

The error is the first time the build hits an #include file such as "boards.h" it stops and throws a error. Obviously it cannot find the file due to relative or absolute file path.

For the Segger Embedded Studio, what is the correct syntax? I understand that each machine is setup differently but I am unclear if $ or { }or [ ]or () or "" are required?

I am using 

nrf5_SDK_for_Mesh_v4.0.0_src

nRF5SDK160098a08e2

Parents
  • Hi.

    How to add the SDK_ROOT for the nRF5 SDK is explained in the First time setup page in our documentation.

    The SDK root should be an absolute file path to the location of the nRF5 SDK folder, without any syntax.
    For me, the sdk root look like this:

    SDK_ROOT=C:\nrf5sdk\nRF5_SDK_16.0.0_98a08e2

    Best regards,
    Joakim

  • Thanks, what was not clear was the syntax for absolute or relative. It turned out the problem was actually in the example project on the Nordic site. It seems as somewhere along the line the nRF5_SDK_60.0.0_98a08e2 changed to nRF5SDK160098a08e2. Once I found that the fix was easy - only took 3 days of looking! 

  • Thanks for sharing the solution.

    Please let us know if you have any further questions.

    Regards,
    Joakim

Reply Children
No Data