<?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>sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7117/sdk-8-1-0-compilation-fails-due-to-redefinition</link><description>Hey Nordic-- 
 I updated my Keil project from SDK v8.0.0 to v8.1.0 and immediately get some compilation errors due to redefinition of symbols. 
 In nrf_sd_def.h, I think you meant for: 
 #define NRF_PPI_RESTRICTED 0 /**&amp;lt; 1 if PPI peripheral is restricted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Aug 2015 13:29:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7117/sdk-8-1-0-compilation-fails-due-to-redefinition" /><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25140?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2015 13:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a3ef8db-3827-4873-8283-5c84e7b4225b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Seems like you are right. I have reported it to the SDK team. SD_PPI_RESTRICTED should be 0UL as the PPI is no longer a restricted resource in S110.&lt;/p&gt;
&lt;p&gt;These are the defines in the S110 nrf_sd_def.h files in SDK 9:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SD_PPI_RESTRICTED               0            /**&amp;lt; 1 if PPI peripheral is restricted, 0 otherwise. */
#define SD_PPI_CHANNELS_USED       		0xFFF0C000uL /**&amp;lt; PPI channels utilized by SotfDevice (not available to th spplication). */
#define SD_PPI_GROUPS_USED              0x0000000CuL /**&amp;lt; PPI groups utilized by SoftDevice (not available to the application). */
#define SD_TIMERS_USED                  0x00000001uL /**&amp;lt; Timers used by SoftDevice. */
#define SD_SWI_USED                     0x0000003CuL /**&amp;lt; Software interrupts used by SoftDevice */
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25139?ContentTypeID=1</link><pubDate>Sat, 08 Aug 2015 15:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1017d25e-ac55-4033-b77c-f6bcbedcfdf9</guid><dc:creator>2R</dc:creator><description>&lt;p&gt;Same issue in SDK 9.0&lt;/p&gt;
&lt;p&gt;Im using a softdevice 110, Now my question;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_PPI_RESTRICTED    0  /**&amp;lt; 1 if PPI peripheral is restricted, 0 otherwise. */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;should be&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SD_PPI_RESTRICTED	 1uL /**&amp;lt; 1 if PPI peripheral is restricted, 0 otherwise. */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SD_PPI_RESTRICTED	  0uL /**&amp;lt; 1 if PPI peripheral is restricted, 0 otherwise. */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in nrf_sd_def.h???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25138?ContentTypeID=1</link><pubDate>Thu, 21 May 2015 11:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:519813c5-611a-4e28-98aa-54ddcbc602bb</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right, this is a bug and is now reported to our SDK team. Thank you for your input.&lt;/p&gt;
&lt;p&gt;PS: I&amp;#39;ll recommend using the &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/nRF51_SDK_8.1.0_b6ed55f.zip"&gt;zipped folder structure&lt;/a&gt; and Softdevice from &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/S110-SD-v8/45846"&gt;here&lt;/a&gt;. The pack system is great when it works, but is a very common source of complicated file and source errors like this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25137?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 17:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21cf3d80-533c-4964-a521-82ba9a2301e9</guid><dc:creator>Nick Pelis</dc:creator><description>&lt;p&gt;Ah-ha!  I found the issue.&lt;/p&gt;
&lt;p&gt;When I go to &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/pieces/nRF_SoftDevice_S110/"&gt;https://developer.nordicsemi.com/nRF51_SDK/pieces/nRF_SoftDevice_S110/&lt;/a&gt;--the same URL the Pack Installer downloads its packs from--the most recent version is NordicSemiconductor.nRF_SoftDevice_S110.8.0.0.pack.  I downloaded this .pack file, changed the extension to .zip, and looked at the contents of nrf_sd_def.h, which does &lt;strong&gt;NOT&lt;/strong&gt; contain the v8.1.0 changes.&lt;/p&gt;
&lt;p&gt;I also downloaded &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/packs/nRF51_SDK_8.1.0_b6ed55f_packs.zip"&gt;https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/packs/nRF51_SDK_8.1.0_b6ed55f_packs.zip&lt;/a&gt; and confirmed that the changes are missing from this .zip of packs, despite the name of the file.&lt;/p&gt;
&lt;p&gt;However, when I go to the link provided and look at the zipped folder structure of the entire SDK, the version of nrf_sd_def.h there does contain the missing #defines.&lt;/p&gt;
&lt;p&gt;Therefore this is a release management bug.  Whatever process at Nordic is responsible for turning the SDK into packs did not run correctly, so there is a mismatch between what different portions of the SDK contain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25136?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 08:58:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9185bbab-cee0-4bfa-bc1a-f17abd68eefe</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Are you able to use the &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/"&gt;zipped folder structure&lt;/a&gt; of the SDK instead of the Pack? We see a lot of these kinds of troubles with people using the packs. In general we recommend the zipped version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25135?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 16:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab066071-4045-4e36-92ca-34a37875af76</guid><dc:creator>Nick Pelis</dc:creator><description>&lt;p&gt;My code started out with the HID mouse example but has since morphed into a completely separate project.&lt;/p&gt;
&lt;p&gt;BTW, the issue is with the NordicSemiconductor Pack in Keil.  The change I described above I made to nrf_sd_def.h, which on my system is located in C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Softdevice_S110\8.0.0\headers\nrf_sd_def.h.&lt;/p&gt;
&lt;p&gt;Perhaps the problem is that there should be an nrf_sd_def.h under an &amp;quot;8.1.0&amp;quot; directory, like \ARM\Pack\NordicSemiconductor\nRF_SoftDevice_S110*&lt;em&gt;8.1.0&lt;/em&gt;*\headers?  But when I go to the Keil Pack Installer and click the &amp;quot;Check for Updates&amp;quot; option, 8.0.0 is the latest version for the NordicSemiconductor::nRF_SoftDevice_S110 component.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk 8.1.0 compilation fails due to redefinition</title><link>https://devzone.nordicsemi.com/thread/25134?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 10:17:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66b9aa77-adeb-4a7d-bcea-34e114cda083</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi, Are you running a specific example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>