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

Thingy SDK compile error using Segger Embedded Studio within Windows 10

Hi sir,

I encountered a problem when I tried to build Thingy SDK. Here are steps what I did,

  • Download "thingy_sdk_v2.1.0" SDK and followed README.md to install the prerequisites tools and also run "setup_sdk.bat".
  • Try compiling the Thingy firmware using SES, I mean I navigated to the folder /thingy_sdk_v2.1.0/project/pca20020_s132/ses and double-click the project file ble_app_thingee_s132_pca20020.emProject to build FW, but it appeared error as below,
  1. nrf_log.h: No such file or directory
  2. thingy_sdk_v2.1.0\source\modules\thingee_ble_handler.c: No such file or directory
  3. thingy_sdk_v2.1.0\source\modules\thingee_config_flash.c: No such file or directory
  4. thingy_sdk_v2.1.0\source\modules\thingee_ui.c: No such file or directory

image description

Could you please do me a big favor to see how to fix the problem?

Thanks.

Regards, Archer

Parents
  • That is true shibshab. It actually applies to all of our SDK's.
    The path lenght limitation in windows is 247 characters (260-12-1=247).
    If the path lenght to your project exceeds this, it wont work.
    Best regards.

    1. After I moved the entire Thingy_sdk to c:\Nordic as suggested in the link, I got the following result:
    2. I don’t know which folder I should put the RTT_Syscalls_SES.c  file.

    3.  I think nrf.h is not a problem in my case (please see the screen shot above under CMSIS files), If not, please let me know how to add the path to the file in my preprocessor definitions. 

    Thanks.

  • Hi!

    1)
    If you take a look at one of my comments above, you can see that the SES project in the thingy SDK is not working;
    "I'm afraid Tom is pretty much correct about the SES project from the thingy_sdk_v2.1.0.
    The SES project is borken, and was not meant to be released in the SDK.
    However, it is possible to import keil projects to SEGGER Embedded Studio"

    2)
    Note that my comment about RTT_Syscalls_SES.c, is referring to the process of importing the KEIL project to SES. But the file can be placed in any folder, but the nRF_Segger_RTT folder would be a good place to have it.

    3)
    The nrf.h and other header files should not be added to your project explorer like that.
    You can just add the path to the header file. You can do that by opening your project settings -> preprocessor -> and adding the path to the user include directories.

    If you want an introduction to owkring with SEGGER Embedded Studio and with the nRF5 SDK, we have a youtube tutorial-series that you can take a look at.
    The tutorials cover how to add the free nordic license, how the build configurations and settings work, how to debug etc.

    SEGGER Embedded Studio - Getting Started

    Best regards,
    Joakim.

Reply
  • Hi!

    1)
    If you take a look at one of my comments above, you can see that the SES project in the thingy SDK is not working;
    "I'm afraid Tom is pretty much correct about the SES project from the thingy_sdk_v2.1.0.
    The SES project is borken, and was not meant to be released in the SDK.
    However, it is possible to import keil projects to SEGGER Embedded Studio"

    2)
    Note that my comment about RTT_Syscalls_SES.c, is referring to the process of importing the KEIL project to SES. But the file can be placed in any folder, but the nRF_Segger_RTT folder would be a good place to have it.

    3)
    The nrf.h and other header files should not be added to your project explorer like that.
    You can just add the path to the header file. You can do that by opening your project settings -> preprocessor -> and adding the path to the user include directories.

    If you want an introduction to owkring with SEGGER Embedded Studio and with the nRF5 SDK, we have a youtube tutorial-series that you can take a look at.
    The tutorials cover how to add the free nordic license, how the build configurations and settings work, how to debug etc.

    SEGGER Embedded Studio - Getting Started

    Best regards,
    Joakim.

Children
Related