<?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>nRF Connect SDK to large for nrf52811?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72537/nrf-connect-sdk-to-large-for-nrf52811</link><description>Hello, 
 I watched some of your webinars from the embedded world with the nrf connect SDK and wanted to give it a try. The basic examples (blinking an LED, …) worked fine with the nrf52840dk_nrf52811 setting. But the BLE examples failed because of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 15:30:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72537/nrf-connect-sdk-to-large-for-nrf52811" /><item><title>RE: nRF Connect SDK to large for nrf52811?</title><link>https://devzone.nordicsemi.com/thread/298785?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 15:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d223ad34-8a70-458a-9977-ccbcbbdc6dd9</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should look into the documentation for minimizing for memory footprint for the SDK examples:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/app_memory.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/app_memory.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Example for minimal config for BLE in NCS:&amp;nbsp; &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/peripheral_lbs/prj_minimal.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/peripheral_lbs/prj_minimal.conf&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK to large for nrf52811?</title><link>https://devzone.nordicsemi.com/thread/298678?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 12:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db0a269-6cb6-4b07-900f-5410538fe361</guid><dc:creator>niebert</dc:creator><description>&lt;p&gt;OK, I get it. I installed both zephyrproject and ncs. Although both use Zephyr, there is a apparently quite a difference between the two concerning Bluetooth. I compiled the project once with ncs, once with the classical zephyr project and there is a difference of 8kB and that is due to the presence of the Softdevice in ncs (which is absent in Zephyrproject, a different Bluetooth stack is used there). NCS should allow to use that alternative Bluetooth stack, I think?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK to large for nrf52811?</title><link>https://devzone.nordicsemi.com/thread/298607?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:37:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85eeb2c0-8523-45dd-b429-771800697b44</guid><dc:creator>grosdode</dc:creator><description>&lt;p&gt;I followed the stepps in from &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0"&gt;https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0&lt;/a&gt; and tried the same for a sample project from ncs (periodic_adv).&lt;/p&gt;
&lt;p&gt;Copied Folder with the sample (periodic_adv) &amp;agrave; open Segger embedded Studio via nrf Connect / Toolchain Manager &amp;agrave; Choose file, Open nRF Connect SDK Projet &amp;agrave; used the settings from the picture above &amp;agrave; changed nothing and just build the solution&lt;/p&gt;
&lt;p&gt;Anyway, we have a working prototype with the old SDK and the nrf52811. I just wanted to evaluate if it is possible to switch. So, the bottom-line is, the new SDK is too heavy for the smaller Chips, right? Or at least for the most applications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK to large for nrf52811?</title><link>https://devzone.nordicsemi.com/thread/298585?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 08:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e009f92d-1299-4f14-954e-a9af6ca751b6</guid><dc:creator>niebert</dc:creator><description>&lt;p&gt;24kB is certainly tight, but it is not impossible. I tried the periodic advertisement demo and it compiles for Nrf52811 with 17354 bytes of RAM so I do not understand what you are showing. However the demo zephyr/samples/bluetooth/peripheral would not fit indeed, a first attempt fails with a lack of 992 bytes. At this point, you have to learn to configure the compilation. Changing the log mode from &amp;quot;deferred&amp;quot; to &amp;quot;minimal footprint&amp;quot; was all it takes and this demo passes with 94.66% of RAM usage. I have not tried to compile with the nrfconnect tool as that is not supported under linux, rather using west/cmake:&lt;/p&gt;
&lt;p&gt;Once you have created a build directory with west or cmake, open a terminal in it and the, depending on how you configured, try these:&lt;/p&gt;
&lt;p&gt;ninja guiconfig&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;make guiconfig&lt;/p&gt;
&lt;p&gt;It gives you a simplified access to the configuration of Zephyr and you have a search function. Modify (if you know what you are doing) and save the configuration, then compile again.&lt;/p&gt;
&lt;p&gt;The problem is, as long as an application does not fit into the memory, there is limited feedback as to why. So my strategy would be to compile for a bigger target like Nrf52840 and bring the footprint down there. There is also a nice feature to understand memory usage:&lt;/p&gt;
&lt;p&gt;ninja ram_report&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;ninja_rom_report&lt;/p&gt;
&lt;p&gt;In any case, 24k is not much for bluetooth and even less for other protocols.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>