<?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>removing BLE services for reducing Ram</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114775/removing-ble-services-for-reducing-ram</link><description>hello Nordic 
 
 i am working with nrf52832, and nrf52840 with ncs v2.5.0 
 i am on the very adge of my ram take specially on the nrf52832 soc based devices. 
 we are working mostly with SMP service and thinking to have one thread and for one service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2024 10:48:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114775/removing-ble-services-for-reducing-ram" /><item><title>RE: removing BLE services for reducing Ram</title><link>https://devzone.nordicsemi.com/thread/502736?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 10:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f75b43df-f44b-44f0-aff6-28ca4ef71009</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please take a look at:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The thread analyzer can be useful to check the various stack sized, and if some can be reduced. It&amp;#39;s possible to reduce the number of services and characteristics, but it will have minimal effect on the RAM usage. But to answer your question I believe for instance&amp;nbsp;&lt;span&gt;CONFIG_BT_BAS=n should do the job.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>