This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

segger embedded studio project path issues

dev environment segger embedded studio with nrf5 sdk

I have separated my project source and the paths of nfr5 sdk the project have different folders for different drivers

I was unable to include

"app_uart.h" file using

#inclide<app_uart.h>

line in my project so i used following path to add it

#include "../../nRF5_SDK_17.1.0_ddde560/components/libraries/uart/app_uart.h"

I need help to set the paths as above relative is not allowed.

  • Hello,

    I am not sure I understood what you mean - have you moved a project you have developed outside of the SDK folder?
    The SDK by default uses relative paths, so if your project started with one of the SDK examples it will do so as well.
    To fix this, you will have to go into Project Options -> Common configuration -> Preprocessor -> User Included directories and convert these paths to absolute paths.

    Best regards,
    Karl

Related