<?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>Online Compiler Doesn&amp;#39;t Optimize?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4893/online-compiler-doesn-t-optimize</link><description>I just tried compiling this for the BLE nano and it explodes to a 245K download (much too large for device). I&amp;#39;ve also tried including only the headers (DigitalOut and wait...) that are necessary. Same size. 
 How do we configure the online compiler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Jan 2015 14:22:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4893/online-compiler-doesn-t-optimize" /><item><title>RE: Online Compiler Doesn't Optimize?</title><link>https://devzone.nordicsemi.com/thread/17281?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2015 14:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9625dea6-2bbc-40e7-8c43-0c38bb16f491</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;As Janek points out, the question may be better suited for the mbed forums.&lt;/p&gt;
&lt;p&gt;To do DFU OTA with mbed I think you must use &lt;a href="http://developer.mbed.org/platforms/Nordic-nRF51822-FOTA/"&gt;FOTA&lt;/a&gt;, because the SoftDevice is included in the hex. I don&amp;#39;t think BLE nano supports DFU OTA of the bootloader, so this has be programmed in.&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t understand how you were able to do the DFU the first time, if it was from mbed that is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Online Compiler Doesn't Optimize?</title><link>https://devzone.nordicsemi.com/thread/17280?ContentTypeID=1</link><pubDate>Sun, 21 Dec 2014 15:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a08a27b-e390-4cd4-8d56-a4b6503253ae</guid><dc:creator>colabi</dc:creator><description>&lt;p&gt;I did try it.  The NRF * app refused to upload it because of size.&lt;/p&gt;
&lt;p&gt;The only program I did successfully install from the NRF Toolbox was the Heartrate Monitor, v6.  But now that it is installed, the NRF Toolbox is saying it can&amp;#39;t find a valid DFU.  Did I just brick the beacon (into a heart rate monitor)?  Did it install a version of the DFU that is incompatible with the app?&lt;/p&gt;
&lt;p&gt;Is the only way to recovery through SWD?  Or is another app capable of restoring OTA?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Online Compiler Doesn't Optimize?</title><link>https://devzone.nordicsemi.com/thread/17279?ContentTypeID=1</link><pubDate>Sun, 21 Dec 2014 07:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5479563d-c29d-468f-82be-0150c031a7a6</guid><dc:creator>Janek Mann</dc:creator><description>&lt;p&gt;It would probably make more sense to ask this question on the mbed forums, but in any case the mbed online compiler does strip unnecessary symbols. The downloaded file includes the soft device and is in intel hex format (an ascii representation of the binary), hence the file size is much larger than the final binary that is downloaded to the flash.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a little puzzled why you didn&amp;#39;t just try it before giving up?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>