<?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>NRF SDK compilation issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73931/nrf-sdk-compilation-issue</link><description>Hi, 
 I am trying to compile ble_advertising.c file for a specific application based on nrf52840 and I am getting the following error: 
 nRF5_SDK_15.3.0_59ac345/components/ble/ble_advertising/ble_advertising.c:243:41: error: &amp;#39;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Apr 2021 06:17:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73931/nrf-sdk-compilation-issue" /><item><title>RE: NRF SDK compilation issue</title><link>https://devzone.nordicsemi.com/thread/304959?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 06:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fa1642f-037f-4e0d-851d-c581a0d01778</guid><dc:creator>Vandana G S</dc:creator><description>&lt;p&gt;Thank you, for the suggestion. I was able to solve the error. Now I am getting a new error as follows:&lt;/p&gt;
&lt;p&gt;\acconeer\XM122\xm122\source/main.c:127: undefined reference to `nrf_drv_power_init&amp;#39; .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have already&amp;nbsp; included the specified header files of nrf_drv_power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF SDK compilation issue</title><link>https://devzone.nordicsemi.com/thread/304711?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 07:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66106b64-0297-45d5-916b-7c2426d30fd9</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Vandana G S"]Is it possible that I have missed including any header files to get this kind of error?[/quote]
&lt;p&gt;Possible yes, but I think you may have included a softdevice header files that does not support the extended advertisement (e.g. you have included S112 instead of S140).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF SDK compilation issue</title><link>https://devzone.nordicsemi.com/thread/304619?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 14:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6f9e5e9-ba9c-455e-82b1-fadd7a6571b5</guid><dc:creator>Vandana G S</dc:creator><description>&lt;p&gt;The soft device that I am using is&amp;nbsp;components/softdevice/s140/hex/s140 nrf52 6.1.1 softdevice. The project is&amp;nbsp;made for&amp;nbsp; nRF SDK 15.3 and it was created to run on XM122 IoT module developed by Acconeer. While compiling this file I had problem in providing NRF SDK path in global macros. Hence I have updated the header files in preprocessor manually. Is it possible that I have missed including any header files to get this kind of error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF SDK compilation issue</title><link>https://devzone.nordicsemi.com/thread/304514?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 12:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e787883-08ad-4948-8bde-8a3361ee7662</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What softdevice and version are you using with the nRF52840?&lt;/p&gt;
&lt;p&gt;I suggest to use the latest nRF5 SDK v17.0.2, it may be that the softdevice in nRF5 SDK v15.3 does not support what you want.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>