<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>eclipse missing symbols</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13778/eclipse-missing-symbols</link><description>i have a minor issue with my eclipse setup. 
 in the BLE_Peripheral_HTS example eclipse can&amp;#39;t find the NRF_CLOCK_LFCLKSRC reference. codeline 604 in the main.c 
 Im using the S132 on a nrf52-dk. 
 Can someone help getting it fixed? Or tell me where</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Feb 2017 10:34:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13778/eclipse-missing-symbols" /><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52673?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 10:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23cedd12-029f-4874-a7e2-044e4717e189</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;unfortunately, I have not experienced or seen reports of this behavior before. Please let me know if it happens again, and I&amp;#39;ll try to reproduce it here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52672?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 10:22:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d44796e0-32e6-4947-9a28-1ef513ca8977</guid><dc:creator>Morten</dc:creator><description>&lt;p&gt;Yes, I am, but I think Eclipse or CDT is doing something strange. After adding every symbol manually my project builds and no complaining. Then if I remove all the symbols, clear the CDT output parser entries for my project files, clear project and then build project somehow eclipse CDT finds all the symbols. This happens both in Eclipse mars and neon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52671?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 07:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bf9231b-ed91-449a-b180-62b638c80612</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Did you use the makefile.common file from the &lt;a href="https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/"&gt;&lt;strong&gt;tutorial&lt;/strong&gt;&lt;/a&gt; in your build?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52670?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2017 09:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15462ff3-4e44-46ee-a9bf-8a67ca34e8aa</guid><dc:creator>Morten</dc:creator><description>&lt;p&gt;For my setup, it looks like the Build output Parser fails for all symbols, but manages to parse the include paths. This answer solves the problem, but then I have to add all the symbols by hand. Do you know if there are a more permanent solution to this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52669?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 11:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbdee085-f470-4985-a2bc-f19237482b1f</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;Thanks, your screenshot did the trick!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52668?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 11:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:715a38ca-6f72-4856-8831-f2b41e9c559c</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;No there are some others like RX_PIN_NUMBER, LED_3 the board related defines.
I have the board flag set in the makefile and everything builds fine, but the IDE cant find them.&lt;/p&gt;
&lt;p&gt;As a sidenote, the auto discovery of symbols doesn&amp;#39;t work for me. I had to mirror all makefile includes into the eclipse includes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52667?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 11:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2206ff6-0c0f-4f8e-aa0e-aca679841eda</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is this the only define that Eclipse fails to resolve? In that case,  have you set/removed &amp;#39;CFLAGS += -DBOARD_PCA10040&amp;#39; from your makefile?&lt;/p&gt;
&lt;p&gt;Manually defining the board in Eclipse should make Eclipse able to resolve the board specific symbols.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/board.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;This symbol would be added automatically if auto discovery was working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52660?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 16:58:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a89f4d-5e1e-47de-8ff6-9fb4500f5116</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;You can try cleaning your project, restart eclipse and rebuilding. Otherwise I&amp;#39;m out of ideas.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52659?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 16:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4536d578-fc50-453a-befa-fedec16d6d49</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;Thanks for sharing your settings.
Unfortunately neither the tutorial settings nor yours are working on my project.
And I cant see any flags &amp;quot;-E -P -v&amp;quot; in my console while building.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52658?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 16:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d491eb5-133d-4a5b-94d2-2fbfe031c74b</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;I assume you followed the &amp;quot;Enable auto discovery of symbols, include paths and compiler settings&amp;quot; section in the Nordic GCC tutorial?&lt;/p&gt;
&lt;p&gt;I checked my settings and they are slightly different from the tutorial but its working for me.
For &amp;quot;CDT GCC Build Output Parser&amp;quot; I have &lt;code&gt;(arm-none-eabi-gcc)|([gc]++)|(clang)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For &amp;quot;CDT Built-in Compiler Settings Cross ARM&amp;quot; I have &lt;code&gt;arm-none-eabi-gcc ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &amp;quot;${INPUTS}&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can try compiling with these settings and see if they work for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52657?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 16:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:314375c1-dac3-4c07-b704-4160e9f53cbe</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;Ohh well it doesn&amp;#39;t work. The error in eclipse disappears but it wont build because im redefining.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52656?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 16:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c060ab1-4a32-4cad-9fcf-ff6ccd5b912a</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;I tried to define it again and now it works.
As I mentioned in Mahesh&amp;#39;s replay. It seems eclipse cant find the proper define as there are several.
The FLAGS in the makefile are only for building.
Is there a way to set these Flags in eclipse?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52655?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b6f2b10-1fae-4b93-b43a-f2b2897cc540</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;That&amp;#39;s defined in &amp;quot;/components/softdevice/s132/headers/nrf_sdm.h&amp;quot; which is included in &amp;quot;softdevice_handler.h&amp;quot;.&lt;/p&gt;
&lt;p&gt;Add it to your include paths and include &amp;quot;softdevice_handler.h&amp;quot; in your main.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52654?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d48dcb-2951-4974-83ec-eb600f0610fb</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;I tried it already.
then it fails to find: &amp;quot;NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52653?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8cb0904-3256-416d-856f-027848c7f9fd</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;I think its because it doesn&amp;#39;t know which one to use. Do you have &lt;code&gt;CFLAGS += -DBOARD_PCA10040&lt;/code&gt; and &lt;code&gt;ASMFLAGS += -DBOARD_PCA10040&lt;/code&gt; in your makefile?&lt;/p&gt;
&lt;p&gt;You can also just define it in your main.c:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,              \
                                 .rc_ctiv       = 16,                               \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It&amp;#39;s a nrf_clock_lf_cfg_t struct:
&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v2.0.0%2Fstructnrf__clock__lf__cfg__t.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v2.0.0%2Fstructnrf__clock__lf__cfg__t.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52665?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8420629a-e705-4d65-916b-1decc2a52c52</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;same here i can build and deploy, but the missing symbols in the IDE are annoying&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52664?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d85c695-dbf2-4a57-9213-0a4e00328c64</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;You can use the external Makefile setup. It worked for me as far as building, flashing and debugging. I still have a problem with undefined symbols in the IDE but it has no effect on development.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52663?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:befae9aa-ba08-4a3e-91b2-7ea29a095a59</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;Yes i did, but its too outdates and the examples don&amp;#39;t have the .project files anymore&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52662?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:07:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f096caa4-7514-4b8c-8808-a6c905339675</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Unfortunately I am not very familiar with eclipse. Are you following this Nordic tutorial? &lt;a href="https://devzone.nordicsemi.com/tutorials/7/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52666?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 14:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea3f8c9-af26-4687-a2e1-e6fa6f3b3876</guid><dc:creator>Bobbelkl</dc:creator><description>&lt;p&gt;thanks!&lt;/p&gt;
&lt;p&gt;I have the path of &amp;quot;/examples/bsp/&amp;quot; in my includes
guess eclipse doest know which define it should take.
Any idea how to fix it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: eclipse missing symbols</title><link>https://devzone.nordicsemi.com/thread/52661?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 14:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6526dd55-2d5d-431e-b46e-0b151ecb8c9b</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Under the &lt;code&gt;examples/bsp&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ find ./ -name &amp;quot;*.h&amp;quot; -exec grep NRF_CLOCK_LFCLKSRC {} \; -print
#define NRF_CLOCK_LFCLKSRC      NRF_CLOCK_LFCLKSRC_XTAL_50_PPM
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/n5_starterkit.h
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/nrf6310.h
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10000.h
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10001.h
#define NRF_CLOCK_LFCLKSRC      NRF_CLOCK_LFCLKSRC_XTAL_20_PPM
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10003.h
#define NRF_CLOCK_LFCLKSRC      NRF_CLOCK_LFCLKSRC_XTAL_20_PPM
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10028.h
#define NRF_CLOCK_LFCLKSRC      NRF_CLOCK_LFCLKSRC_XTAL_20_PPM
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10031.h
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10036.h
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
.//examples/bsp/pca10040.h
#define NRF_CLOCK_LFCLKSRC      NRF_CLOCK_LFCLKSRC_XTAL_20_PPM
#define NRF_CLOCK_LFCLKSRC      {.source = NRF_CLOCK_LF_SRC_XTAL, .rc_ctiv = 0, .rc_temp_ctiv = 0, .xtal_accuracy=NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
.//examples/bsp/pca20006.h
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>