<?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>Not able to compile mesh sdk for nrf51822 (QFAA H1 16KB RAM and 256 kb Flash). (Using gccarmemb)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30684/not-able-to-compile-mesh-sdk-for-nrf51822-qfaa-h1-16kb-ram-and-256-kb-flash-using-gccarmemb</link><description>HI, 
 I have been trying to generate the hex files for the mesh sdk (Latest) examples using cmake following the instructions in the documentation. 
 But the platforms supported out of the boc for the sdk are nrf51422_xxAC , nrf52832_xxAA , nrf52840_xxAA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Feb 2018 16:49:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30684/not-able-to-compile-mesh-sdk-for-nrf51822-qfaa-h1-16kb-ram-and-256-kb-flash-using-gccarmemb" /><item><title>RE: Not able to compile mesh sdk for nrf51822 (QFAA H1 16KB RAM and 256 kb Flash). (Using gccarmemb)</title><link>https://devzone.nordicsemi.com/thread/121433?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 16:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4968d34-66ef-47f3-8f7a-7775c152ad17</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;Alternatively, if you are stuck on nrf51822 (QFAA) hardware or simply want to use them in a mesh network in some meaningful way, you could look into the &lt;a href="https://www.zephyrproject.org/"&gt;Zephyr Project&lt;/a&gt; mesh stack which supports mesh for devices as small as the &lt;strong&gt;&lt;a href="http://microbit.org/guide/features/"&gt;bbc:microbit&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;(which is based on the nrf51822_QFAA).&lt;/p&gt;
&lt;p&gt;The caveats being:&lt;/p&gt;
&lt;p&gt;(1) the Zephyr mesh stack currently doesn&amp;#39;t support device state persistence (&lt;em&gt;provisioning will need to be done upon device reboot&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;(2) it&amp;#39;s a different learning curve to the Nordic Mesh SDK (&lt;em&gt;however just as relevant&lt;/em&gt;). A demo of Zephyr mesh on &lt;span&gt;nrf51822_QFAA/&lt;/span&gt;bbc:microbit can be seen &lt;a href="https://www.youtube.com/watch?v=TwVwIjTX6SI"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;(3) based upon how persistence is finally implemented in the Zephyr mesh stack, it may be a short-term solution (&lt;em&gt;although based upon my current understanding, even with persistence it should still fit on the 16KB/256KB RAM/FLASH variants going forward&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;(4) on a positive front, you get to see how well&amp;nbsp;interoperability of the Bluetooth Mesh standard actually works across vendor stacks&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to compile mesh sdk for nrf51822 (QFAA H1 16KB RAM and 256 kb Flash). (Using gccarmemb)</title><link>https://devzone.nordicsemi.com/thread/121383?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 12:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32dec66b-2d3a-4c5f-9f00-7e0fd93b5a8a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You would need minimum a 32Kb RAM nRF51 or nRF52 device to run the both the Mesh stack + the SoftDevice stack.&lt;/p&gt;
&lt;p&gt;E.g the light_switch_server example uses about 15 kB RAM in the latest Mesh SDK, + you need about 8 kB RAM for the SoftDevice. 15 + 8 = 23 Kb, so it will not fit into a 16 kB RAM device. From the build error you are getting, you can see that you are missing 5kB RAM in order to run the client example. If you want to still use the nRF51822 you could go for the nRF51822 QF AC variant with 32 kB RAM, but I would recommend using the&amp;nbsp;&lt;span&gt;nRF52832 with 64 kB RAM if you are developing a mesh application.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>