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

Eclipse include folder setting

Now I can build & download nRF52840 SDK example with Eclipse.

But Eclipse indexer(F3 key) can not recognize include folder.

So I added every include folder to .cproject file as bellow.

                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\components\boards&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\components\libraries&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\integration\nrfx&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\integration\nrfx\legacy&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\arm-none-eabi\include&quot;"/>
                                  

                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\components\libraries\atomic&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\components\libraries\atomic_fifo&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\components\libraries\atomic_flags&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\nRF51\nRF5_SDK_16.0.0_98a08e2\components\libraries\balloc&quot;"/>
.
.
.
.

                                    <listOptionValue builtIn="false" value="&quot;C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\arm-none-eabi\include\bits&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\arm-none-eabi\include\c++&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\arm-none-eabi\include\machine&quot;"/>
                                    <listOptionValue builtIn="false" value="&quot;C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\arm-none-eabi\include\newlib-nano&quot;"/>
.
.
.
.
 

I can not understand why Eclipse can not access sub folder of pre-define include folder.

It looks very dummy method.

Regards

Kim taeyeong

Related