<?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>nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31211/nrf52-2832---error-l6218e-undefined-symbol</link><description>Hello, 
 I&amp;#39;m currently trying to build my Keil project. i2c.c file in my project is using nrf_drv_twi driver functions. 
 So I included nrf_drv_twi.h in the file (or in the include chain) and I referenced the correct path in C/C++ Include Path option</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Mar 2018 12:06:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31211/nrf52-2832---error-l6218e-undefined-symbol" /><item><title>RE: nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/thread/123233?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 12:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14884015-72e6-49fc-b922-cee265da13d2</guid><dc:creator>Bilal Bouguerra</dc:creator><description>&lt;p&gt;Thank you it worked, I still have other errors&amp;nbsp;I&amp;#39;m going to check why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/thread/123231?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 12:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08b1e4e5-ba54-4489-8aee-38c8a7a87a81</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;You also need to enable the TWI0 or TWI1 instance&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#ifndef TWI0_ENABLED
#define TWI0_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You might want to check the sdk_config.h file in the twi example from nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/thread/123228?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 11:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2908bb4b-fbef-4fe5-b470-816003f4681d</guid><dc:creator>Bilal Bouguerra</dc:creator><description>&lt;p&gt;I tried but the errors are still there&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/thread/123226?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 11:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6344439-8aca-41b1-aff1-86934f923305</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#ifndef TWI_ENABLED
#define TWI_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/thread/123223?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 11:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ae0da5-6f0d-44c7-8e34-0614b1292ede</guid><dc:creator>Bilal Bouguerra</dc:creator><description>&lt;p&gt;I have nrf_drv_twi.c in my project but the errors still there.&lt;/p&gt;
&lt;p&gt;What do I need to add to the sdk_config.h ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#ifndef NRF_MODULE_ENABLED&lt;/p&gt;
&lt;p&gt;#define&amp;nbsp;&lt;span&gt;NRF_MODULE_ENABLED 1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;is correct ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 2832 - Error L6218E: Undefined symbol</title><link>https://devzone.nordicsemi.com/thread/123219?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 11:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b041fe-ccbf-4e4d-a8e8-3426de365c31</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you add nrf_drv_twi.c in your Keil project?&lt;/p&gt;
&lt;p&gt;This error means the linker only has the &lt;strong&gt;declarations&lt;/strong&gt; of the functions but he doesn&amp;#39;t find the&amp;nbsp;&lt;strong&gt;definitions&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Also make sure you have enabled TWI Module in your sdk_config.h, otherwise you won&amp;#39;t compile the twi definitions in nrf_drv_twi due to the&amp;nbsp;#if NRF_MODULE_ENABLED(TWI) guard.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>