<?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>Undefined symbol nrfx_saadc_buffer_convert (referred from main.o).</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98476/undefined-symbol-nrfx_saadc_buffer_convert-referred-from-main-o</link><description>Hello, 
 I am trying to write a code to record an analog signal using the example code in &amp;#39; examples/ble_peripheral/ble_app_hrs &amp;#39;. 
 I used &amp;#39; nrfx_saadc &amp;#39; and &amp;#39; nrfx_timer &amp;#39; in the code, and there is no problem with &amp;#39; nrfx_timer&amp;#39; . 
 However, I encountered</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Apr 2023 20:29:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98476/undefined-symbol-nrfx_saadc_buffer_convert-referred-from-main-o" /><item><title>RE: Undefined symbol nrfx_saadc_buffer_convert (referred from main.o).</title><link>https://devzone.nordicsemi.com/thread/419824?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 20:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24dae9a5-6f38-4adb-91ea-f2c115278fae</guid><dc:creator>hyhaerong</dc:creator><description>&lt;p&gt;Thank you for the swift response.&lt;/p&gt;
&lt;p&gt;actually I encountered other errors right now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;is there something that I have to do further besides changing the drive?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;..\..\..\main.c(97): error: #20: identifier &amp;quot;nrfx_SAADC_DEFAULT_CHANNEL_CONFIG_SE&amp;quot; is undefined&lt;br /&gt; static nrf_saadc_channel_config_t m_channel_config1 = nrfx_SAADC_DEFAULT_CHANNEL_CONFIG_SE(ADC_PIN1);&lt;br /&gt;..\..\..\main.c(97): error: #59: function call is not allowed in a constant expression&lt;br /&gt; static nrf_saadc_channel_config_t m_channel_config1 = nrfx_SAADC_DEFAULT_CHANNEL_CONFIG_SE(ADC_PIN1);&lt;br /&gt;..\..\..\main.c(98): error: #59: function call is not allowed in a constant expression&lt;br /&gt; static nrf_saadc_channel_config_t m_channel_config2 = nrfx_SAADC_DEFAULT_CHANNEL_CONFIG_SE(ADC_PIN2);&lt;br /&gt;..\..\..\main.c(102): error: #20: identifier &amp;quot;nrfx_TIMER_INSTANCE&amp;quot; is undefined&lt;br /&gt; static nrfx_timer_t m_timer = nrfx_TIMER_INSTANCE(0);&lt;br /&gt;..\..\..\main.c(102): error: #59: function call is not allowed in a constant expression&lt;br /&gt; static nrfx_timer_t m_timer = nrfx_TIMER_INSTANCE(0);&lt;br /&gt;..\..\..\main.c(297): error: #20: identifier &amp;quot;nrfx_SAADC_EVT_DONE&amp;quot; is undefined&lt;br /&gt; if (p_event-&amp;gt;type == nrfx_SAADC_EVT_DONE)&lt;br /&gt;..\..\..\main.c(309): error: #20: identifier &amp;quot;nrfx_SAADC_DEFAULT_CONFIG&amp;quot; is undefined&lt;br /&gt; nrfx_saadc_config_t saadc_config = nrfx_SAADC_DEFAULT_CONFIG;&lt;br /&gt;..\..\..\main.c(357): error: #20: identifier &amp;quot;nrfx_TIMER_DEFAULT_CONFIG&amp;quot; is undefined&lt;br /&gt; nrfx_timer_config_t timer_config = nrfx_TIMER_DEFAULT_CONFIG;&lt;br /&gt;..\..\..\main.c(352): warning: #177-D: function &amp;quot;timer_init&amp;quot; was declared but never referenced&lt;br /&gt; static void timer_init(void)&lt;br /&gt;..\..\..\main.c: 1 warning, 8 errors&lt;br /&gt;&amp;quot;..\..\..\main.c&amp;quot; - 8 Error(s), 1 Warning(s).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined symbol nrfx_saadc_buffer_convert (referred from main.o).</title><link>https://devzone.nordicsemi.com/thread/419568?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 08:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b94813b-8545-449b-9876-582589c84236</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you want to use the nrfx api directly, then make sure to follow:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrfx_migration_user_guide.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrfx_migration_user_guide.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>