Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nordic nRF5 SDK 15.2.0 Example Include Files in Eclipse

Hi, 

Is there any easier way when using Eclipse IDE with GCC for nRF5 SDK 15.2 development to get the Include files in the examples to be recognized easier than tediously defining each path? Is there modification that needs to be done to the makefile.common or any other files/settings for this to work properly? I tried an example nRF5 project in eclipse and got most of it to work fine, with the exception of the #include files not being found. 

Thanks!

Parents
  • Is there any easier way when using Eclipse IDE with GCC for nRF5 SDK 15.2 development to get the Include files in the examples to be recognized easier than tediously defining each path?

    No - I have never found any way to add  multiple include paths together to an Eclipse Project.

    Disappointed

    This is a limitation of Eclipse - nothing specifically to do with Nordic.

    (I'm not sure that you can do it in Keil or SES, either)

    Note that the Eclipse Project file is just an XML file - so you could edit the file manually ...

    (many editors have syntax-highlighting support for XML; eg, Notepad++)

    Again, it's not a Nordic thing;  so you could try the Eclipse forums - it must be a common annoyance, so there may be people who have found a solution...

Reply
  • Is there any easier way when using Eclipse IDE with GCC for nRF5 SDK 15.2 development to get the Include files in the examples to be recognized easier than tediously defining each path?

    No - I have never found any way to add  multiple include paths together to an Eclipse Project.

    Disappointed

    This is a limitation of Eclipse - nothing specifically to do with Nordic.

    (I'm not sure that you can do it in Keil or SES, either)

    Note that the Eclipse Project file is just an XML file - so you could edit the file manually ...

    (many editors have syntax-highlighting support for XML; eg, Notepad++)

    Again, it's not a Nordic thing;  so you could try the Eclipse forums - it must be a common annoyance, so there may be people who have found a solution...

Children
No Data
Related