<?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 examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59836/build-examples-nrf52840-ble-are-all-broken-need-help-asap</link><description>Ok - 
 I&amp;#39;ve been through this a few times and read the forums, but the current build system is broken. I&amp;#39;m trying to compile (not even load the board at this point) the ble_hts example from the sdk 16.0 with no luck. I&amp;#39;ve had this working in the past</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Apr 2020 20:21:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59836/build-examples-nrf52840-ble-are-all-broken-need-help-asap" /><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244138?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 20:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bf20bad-990a-4e8d-814d-f7aeda35a70b</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;alright.&amp;nbsp; that worked.&amp;nbsp; was able to successfully compile using that directory.&amp;nbsp; What&amp;#39;s the difference between these?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244137?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 20:18:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62aa95d6-6f42-4883-8955-6e84958d9686</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;There are two instances of the&amp;nbsp;&lt;span&gt;compiler_abstraction.h file as shown in your project view on the left. Please check that they both have this define (only one of them will actually be included used because of the header guard).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I meant to say that you can open a Keil4 project in Keil5. The Keil 4 project is located in&amp;nbsp;\ble_app_template\pca10056\s140\arm4&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244136?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 20:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6683292a-ca40-40eb-9211-ca956bfbc86b</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7827.Capture1.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5367.Capture2.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;that&amp;#39;s what I&amp;#39;m seeing.&amp;nbsp; currently doesn&amp;#39;t change if I comments out the compiler_abstraction.h define.&lt;/p&gt;
&lt;p&gt;How would I compile with Keil V4?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244135?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 19:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7218fbfd-47dc-4495-808a-7fa68904733d</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;Funny - I did have a type (only one set of paren&amp;#39;s, but that didn&amp;#39;t change anything.&amp;nbsp; for chuckles, I commented out that code, and still am getting the same error from the nrf5x_erratas.h files.&amp;nbsp; all seem to be complaining about the &amp;quot;{&amp;quot; - file contains a boolean redirect to the unused define).&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244134?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 19:38:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a2cb9cf-cfed-46ac-90d9-87e02a0e587f</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;understood, but it IS using the 51 file.&amp;nbsp; part of the familypack I believe.&amp;nbsp; under the AppData/local/Arm/Packs/NordicSemiconductor/nRF_DeviceFamilyPack\8.32.1\Device\Include\nrf51_erratas.h&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;error: #130: expected a &amp;quot;{&amp;quot; static bool nrf51_errata_l(void __UNUSED;&lt;/p&gt;
&lt;p&gt;(which is line 40 of nrf51.erratash.h).&amp;nbsp; What determines this file over the 52_erratas.h?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244131?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 18:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af8075fd-6cfe-48b0-af5f-743f4325e0ff</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I get the exact same error if I comment out the __UNUSED symbol.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1586371313842v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Did you check if it was defined in both header files? 51 headers are in the same include path, same for 53 and 91, but only files relevant for 52&amp;nbsp;will be linked in.&lt;/p&gt;
&lt;p&gt;But yes, this should obviously have worked &amp;quot;out-of-the-box&amp;quot;. I understand the frustration of having to spend to build an example project that should have just worked. It has been reported internally and will&amp;nbsp;hopefully be fixed for the next release.&lt;/p&gt;
&lt;p&gt;If you still get build errors after this I suggest you try the Keil4 project. It does not rely on the Keil5 pack system, instead, it includes all the MDK related files directly from the SDK. Note that Keil4 projects require that you run the &amp;#39;nRF_MDK_8_27_0_Keil4_NordicLicense.msi&amp;#39; installer first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244128?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 18:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dd13586-b6b9-4e45-b2c1-a818be688681</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;ok ... gave that a try.&amp;nbsp; had a lot of trouble selecting the &amp;quot;manage Run-Time Environment -&amp;gt; Device -&amp;gt; startup to select version 8.32.1&amp;nbsp; had to do a rain dance to deselect startup and select startupconfig - compile - fail, go back to the section and then I could select that version of the tools.&amp;nbsp; Ok- so that problem went away, now I&amp;#39;m getting&amp;nbsp; in file nrf51_erratas.h(40): error: #130: expected a &amp;quot;{&amp;quot; (why nrf51 as I&amp;#39;m using nrf52?)&amp;nbsp; very strange - and also the error message I&amp;#39;ve seen before and not been able to successfully resolve either.&amp;nbsp; I feel like I&amp;#39;m in a circular buffer just going round and round.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t this be pretty easy?&amp;nbsp; what am I missing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244126?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 17:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebee5f2b-d008-4f9d-be53-d80997d0d8c6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I have had a similar problem with Keil5 and more recent versions of the device family pack. In my case it turned out to be caused by having an &amp;quot;outdated&amp;quot; version of the &amp;#39;compiler_abstraction.h&amp;#39; header that didn&amp;#39;t define the __UNUSED keyword used by the new errata headers.&lt;/p&gt;
&lt;p&gt;So maybe you have run into the same problem? You can add the __UNUSED definition to the compiler abstraction file included from the nRF5 SDK (headers with key symbol are from &amp;quot;Keil packs&amp;quot;) and see it resolves the build error.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1663.4.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the latest MDK version:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1586368011698v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1586368034422v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244121?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 16:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c8e59ea-9b50-485c-b47c-2cbf903809fa</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;yea.&amp;nbsp; it&amp;#39;s the template example, the file is system_nrf52.c&amp;nbsp; line 29&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/244017?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 08:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35203cd6-0093-47c4-926e-32b36b57df7c</guid><dc:creator>Edvin</dc:creator><description>[quote user="Edvin Holmseth"]Can you see what .c or .h file that includes nrf_erratas.h?[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/243958?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 19:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c20648b0-ad10-469f-a6e3-6e485422acda</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;ok - tried that.&amp;nbsp; still not working.&amp;nbsp; Some specifics.&amp;nbsp; If tried using the ble_app_template in the ble_peripheral directory.&amp;nbsp; I&amp;#39;m trying with both the 16.0.0 and 15.0.0 sdk.&amp;nbsp; 16.0.0 is using the 8.27.0 family pack while the 15.0.0 is using the 8.16.0&amp;nbsp; Both are still not happy with the nrf_erratas.h file (cannot fine, and does not exist in the components or modules areas either).&amp;nbsp; I&amp;#39;m using the latest Keil ide (just fully reloaded) on a windows 10 system (which is working otherwise for Infineon arm processor correctly).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s next to try?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/243571?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 08:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf09e8b7-8b23-4978-9d40-cacfddac431c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Daniel,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find any reference to nrf_erratas.h in the SDK. Can you see what .c or .h file that includes nrf_erratas.h? Perhaps it is in the Keil installation.&lt;/p&gt;
&lt;p&gt;Some hints that may help either way:&lt;/p&gt;
&lt;p&gt;1: If the path to your SDK is long, the compiler may struggle to find the files that are included. Try to reduce the path length by putting the SDK in e.g.: C:\nordic\SDKs\SDK16 (create this folder).&lt;/p&gt;
&lt;p&gt;2: Try to close the Keil project, delete the _build and RTE folder, and open the project again.&lt;/p&gt;
&lt;p&gt;3: If that doesn&amp;#39;t work, please try to follow the steps provided by Simon in this ticket:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/54749/sdk16-0-keil5-26-building-error"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/54749/sdk16-0-keil5-26-building-error&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/243468?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 20:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c02a5cf-9046-4d85-a3c5-c6220145d0c1</guid><dc:creator>paley</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ok - clean build (yet again).&amp;nbsp; Loaded the 8.27.0 device family pack.&amp;nbsp; now stating error: #5: cannot open source input file &amp;quot;nrf_erratas.h&amp;quot; no such file or directory (from the system_nrf52840.c file).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s next?&amp;nbsp; I&amp;#39;ve tried the thread about the missing nrf_erratas.h file, but end up with the problem with FIRST/LAST - which I couldn&amp;#39;t resolve.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the next step here?&lt;/p&gt;
&lt;p&gt;--Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build examples (nRF52840 BLE) are all Broken.  Need Help ASAP!</title><link>https://devzone.nordicsemi.com/thread/243385?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 11:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eae45057-079e-473c-af7c-9078d245698d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I believe the device family pack 8.27.0 should be included in the SDK16.0.0 zip file root folder:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a2b912a91b974ebfbfd47ef3f174bf41/pastedimage1585914336379v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Try to run this, and see if it still complains about the device family pack. Other than that, what compiler errors do you get when you try to compile?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>