<?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>&amp;quot;Undefined Symbol&amp;quot; error when compiling , nrf51822 SDK12.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32752/undefined-symbol-error-when-compiling-nrf51822-sdk12-3-0</link><description>Hi, I encountered the following error in keil v5.12.0.0: 
 
 linking... .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_event_enable (referred from main.o). .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Mar 2018 08:25:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32752/undefined-symbol-error-when-compiling-nrf51822-sdk12-3-0" /><item><title>RE: "Undefined Symbol" error when compiling , nrf51822 SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/126063?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 08:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64da84e-989f-4a25-ace5-8a30a001a078</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Happy to help. Let&amp;#39;s hope it continues to work.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Undefined Symbol" error when compiling , nrf51822 SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/126039?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 01:57:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f437a7-f8f0-4077-907a-b8b715cc71fc</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;The SDK (12.3.0) I&amp;#39;m using doesn&amp;#39;t have &amp;quot;GPIOTE_ENABLED&amp;quot; whatnot at all. I&amp;#39;ll try to see what I can fix with some copy-pasta.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just curious, the dedicated gpiote program compiled just ok? I didn&amp;#39;t really do much of anything when ripping the gpiote example from it. I didn&amp;#39;t modify anything to the &amp;quot;component&amp;quot; folder. Yet after it was extracted from it and put into the equivalent path, it fails to compile while the timer example compile just fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: The copy pasta of your code into the beginning of the sdk_config.h&amp;nbsp; did the trick... for now. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Undefined Symbol" error when compiling , nrf51822 SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/125980?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 14:05:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23e08f03-7bd4-4d91-ab6b-47f7512bfbc1</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You might have forgotten to enable GPIOTE in your sdk_config.h file. Make sure to define GPIOTE_ENABLED as 1. It could be that your sdk_config.h file lacks all GPIOTE relevant defines though, in that case please try to copy paste and add this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================
// &amp;lt;e&amp;gt; GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver
//==========================================================
#ifndef GPIOTE_ENABLED
#define GPIOTE_ENABLED 1
#endif
#if  GPIOTE_ENABLED
// &amp;lt;o&amp;gt; GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins 
#ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
#endif

// &amp;lt;o&amp;gt; GPIOTE_CONFIG_IRQ_PRIORITY  - Interrupt priority
 

// &amp;lt;i&amp;gt; Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 

#ifndef GPIOTE_CONFIG_IRQ_PRIORITY
#define GPIOTE_CONFIG_IRQ_PRIORITY 3
#endif

// &amp;lt;e&amp;gt; GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
//==========================================================
#ifndef GPIOTE_CONFIG_LOG_ENABLED
#define GPIOTE_CONFIG_LOG_ENABLED 0
#endif
#if  GPIOTE_CONFIG_LOG_ENABLED
// &amp;lt;o&amp;gt; GPIOTE_CONFIG_LOG_LEVEL  - Default Severity level
 
// &amp;lt;0=&amp;gt; Off 
// &amp;lt;1=&amp;gt; Error 
// &amp;lt;2=&amp;gt; Warning 
// &amp;lt;3=&amp;gt; Info 
// &amp;lt;4=&amp;gt; Debug 

#ifndef GPIOTE_CONFIG_LOG_LEVEL
#define GPIOTE_CONFIG_LOG_LEVEL 3
#endif

// &amp;lt;o&amp;gt; GPIOTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef GPIOTE_CONFIG_INFO_COLOR
#define GPIOTE_CONFIG_INFO_COLOR 0
#endif

// &amp;lt;o&amp;gt; GPIOTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef GPIOTE_CONFIG_DEBUG_COLOR
#define GPIOTE_CONFIG_DEBUG_COLOR 0
#endif

#endif //GPIOTE_CONFIG_LOG_ENABLED
// &amp;lt;/e&amp;gt;

#endif //GPIOTE_ENABLED
// &amp;lt;/e&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>