<?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>.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_ppi_init (referred from adc.o). ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82214/_build-nrf52840_xxaa-axf-error-l6218e-undefined-symbol-nrf_drv_ppi_init-referred-from-adc-o</link><description>Dear Member, 
 I want to add ADC the main code, 
 but I got : 
 .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_ppi_init (referred from adc.o). 
 I&amp;#39;m using Keil, 
 I have added 
 E:\nRF5_SDK_17.0.2_d674dde\integration\nrfx\legacy </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Dec 2021 13:12:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82214/_build-nrf52840_xxaa-axf-error-l6218e-undefined-symbol-nrf_drv_ppi_init-referred-from-adc-o" /><item><title>RE: .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_ppi_init (referred from adc.o). ?</title><link>https://devzone.nordicsemi.com/thread/341519?ContentTypeID=1</link><pubDate>Wed, 01 Dec 2021 13:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b085cba2-2cae-4d1d-9e9d-60bc0aade1bc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, that is the correct source file.&lt;/p&gt;
&lt;p&gt;You will also need to enable the SAADC driver by setting the config in your sdk_config.h file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; SAADC_ENABLED - nrf_drv_saadc - SAADC peripheral driver - legacy layer
//==========================================================
#ifndef SAADC_ENABLED
#define SAADC_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_ppi_init (referred from adc.o). ?</title><link>https://devzone.nordicsemi.com/thread/341421?ContentTypeID=1</link><pubDate>Wed, 01 Dec 2021 01:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5712b69b-e86e-4393-ab1c-ad403b2a251c</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;this one ?&lt;/p&gt;
&lt;p&gt;E:\nRF5_SDK_17.0.2_d674dde\modules\nrfx\drivers\src\nrfx_saadc.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_ppi_init (referred from adc.o). ?</title><link>https://devzone.nordicsemi.com/thread/341420?ContentTypeID=1</link><pubDate>Wed, 01 Dec 2021 01:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6581545-d232-4d00-b3e2-1c490e35d6d7</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thanks for the reply,&lt;/p&gt;
&lt;p&gt;I have added (&lt;span&gt;integration\nrfx\legacy\nrf_drv_ppi.c)&lt;/span&gt; and it&amp;#39;s rectified,&lt;/p&gt;
&lt;p&gt;I have another one&amp;nbsp; :&lt;/p&gt;
&lt;p&gt;&lt;span&gt;.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_saadc_sample_task_get (referred from adc.o).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Which file is related with it ? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have added nrf_drv_saadc.h ....?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_ppi_init (referred from adc.o). ?</title><link>https://devzone.nordicsemi.com/thread/341225?ContentTypeID=1</link><pubDate>Tue, 30 Nov 2021 09:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29bad73d-f92e-4ed2-9bdb-4e8ad60d05a6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you added the source file for the PPI driver (&lt;span&gt;integration\nrfx\legacy\nrf_drv_ppi.c)&amp;nbsp;&lt;/span&gt;to your project?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>