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

  • 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.

  • Hi Tom,

    Understood. Thanks for your information.

    Sincerely.

  • Hi Joakim,

    I tried to follow the steps in the link. (Note: I never used Keil IDE before.) However, when I did "Building" step, it appeared a error, "nrf.h: No such file or directory".

    So, I just have a simple thought, is it possible to write a instruction that is for importing Thingy SDK to SES to me for reference?

    Thanks.

    Regards.

  • Hi Archer.
    You shouldn't need any knowledge about Keil, as you only import the Keil project file to SES.
    As for the nrf.h file not being found, you should check that the path to the file is added in your preprocessor definitions.
    I haven't tried importing it myself yet, but I will try it and let you know the result.

  • Hi Joakim,

    Okay. The "nrf.h: No such file or directory". issue was gone after adding the path in preprocessor definitions. Thanks.

    But it appeared another error that is Compiling ‘RTT_Syscalls_KEIL.c’ rt_sys.h: No such file or directory

    I found out a link, link text, that had same problem, however I can't find the occ as its mentioned.

    Could you please help to take a look?

    Thanks

1 2 3 4