<?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>Struct &amp;quot;&amp;quot; has no field NRFFW</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15310/struct-has-no-field-nrffw</link><description>Has anyone else encountered a recent problem while compiling projects using mbed online compiler (error message goes &amp;quot;Struct &amp;quot;&amp;quot; has no field &amp;quot;NRFFW&amp;quot; &amp;quot;RF_UICR-&amp;gt;NRFFW[0]&amp;quot; in fstorage_config.h?
I haven&amp;#39;t changed anything in my project. IT was working on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 23 Jul 2016 12:54:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15310/struct-has-no-field-nrffw" /><item><title>RE: Struct "" has no field NRFFW</title><link>https://devzone.nordicsemi.com/thread/58503?ContentTypeID=1</link><pubDate>Sat, 23 Jul 2016 12:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d24b1b3-424d-47a2-936f-b9e4e7faf91f</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;This problem is caused by the conflict between two header files &amp;#39;nrf51.h&amp;#39;.
One is nrf51.h of mbed and another is it of nRF51822.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;/nRF51822/source/nordic_sdk/components/device/nrf51.h&lt;/li&gt;
&lt;li&gt;/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The header of nRF51822 is more recent.&lt;/p&gt;
&lt;p&gt;Solution #1&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Delete mbed library on your  project.&lt;/li&gt;
&lt;li&gt;Import mbed-dev library.&lt;/li&gt;
&lt;li&gt;Rename /mbed-dev/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h
to other.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Solution #2&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Export your project to offline toolchain.&lt;/li&gt;
&lt;li&gt;Change the include path order.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Good luck to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>