<?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>SDK12 DFU service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16170/sdk12-dfu-service</link><description>Hi, 
 Trying to add DFU service on the new SDK, but when compiling getting this: 
 compiling nrf_dfu_flash.c...
..\..\..\..\..\..\components\libraries\bootloader\dfu\nrf_dfu_flash.c(173): error: #136: union &amp;quot;&amp;lt;unnamed&amp;gt;&amp;quot; has no field &amp;quot;p_data&amp;quot;
 .p_data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Sep 2016 12:30:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16170/sdk12-dfu-service" /><item><title>RE: SDK12 DFU service</title><link>https://devzone.nordicsemi.com/thread/61701?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 12:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a06c8f3-4dd2-4751-ab17-77516fa596b5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Updated to v5.21 and im not seeing any issue. Could you attach the application project that you&amp;#39;re trying to add DFU support to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK12 DFU service</title><link>https://devzone.nordicsemi.com/thread/61700?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 14:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1340e83e-629a-4837-9603-5cdc51f3e984</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Hi Bjorn,
Im using v5.21.1.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK12 DFU service</title><link>https://devzone.nordicsemi.com/thread/61699?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 07:57:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3139eb68-d05f-48ce-bf88-b5468a38b899</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Sergey,  this is not an issue with Keil uVision v5.15. Which version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK12 DFU service</title><link>https://devzone.nordicsemi.com/thread/61698?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 21:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a1e70e7-9b24-4c2c-a131-62114916125b</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Had to add a name to the union as it seems like anonymous union is not supported:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;typedef struct
{
    fs_evt_id_t id;                         //!&amp;lt; The event ID.
    void *      p_context;                  //!&amp;lt; User-defined context passed to the interrupt handler.
    union
    {
        struct
        {
            uint32_t const * p_data;        //!&amp;lt; Pointer to the data stored in flash.
            uint16_t         length_words;  //!&amp;lt; Length of the data, in 4-byte words.
        } store;
        struct
        {
            uint16_t first_page;            //!&amp;lt; First page erased.
            uint16_t last_page;             //!&amp;lt; Last page erased.
        } erase;
    } un;  &amp;lt;--------added name here
} fs_evt_t;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>