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
  • It's an annoyance that has been around for a long time, not having a simple recursive include in SES and Eclipse; typically users edit a text file generated by a command like this (for each tree of includes):

    cd C:\Projects\Nordic\nRF5_SDK_15.0.0_a53641a\components\ble
    dir /s *.h > includes.txt
    

    The edited file then can be pasted into the xml project file; it's a pain.

Reply
  • It's an annoyance that has been around for a long time, not having a simple recursive include in SES and Eclipse; typically users edit a text file generated by a command like this (for each tree of includes):

    cd C:\Projects\Nordic\nRF5_SDK_15.0.0_a53641a\components\ble
    dir /s *.h > includes.txt
    

    The edited file then can be pasted into the xml project file; it's a pain.

Children
Related