<?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>Unwanted libraries included in examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71663/unwanted-libraries-included-in-examples</link><description>WHY ARE SO MANY UN-NECESSARY LIBRARIES INCLUDED IN SIMPLE EXAMPLES? 
 
 I&amp;#39;m using nrf52 for a consumer device. Just loaded up the blinky example (under the peripheral folder) to test on my pca10040. 
 
 I see 12 -14 libraries!!! Is that what it takes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Feb 2021 21:21:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71663/unwanted-libraries-included-in-examples" /><item><title>RE: Unwanted libraries included in examples</title><link>https://devzone.nordicsemi.com/thread/294964?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 21:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38af72c2-943b-41de-bd67-9bd021d2fdff</guid><dc:creator>haricane</dc:creator><description>&lt;p&gt;Hi Jared. Thanks, understood. Guess this case can be closed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unwanted libraries included in examples</title><link>https://devzone.nordicsemi.com/thread/294760?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 08:08:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03077b9b-3b4e-49b6-a8e2-acb7bc7415c4</guid><dc:creator>Jared</dc:creator><description>[quote user="haricane"]Can Nordic share similar code for say setting up advertisements? I don&amp;#39;t need any events/ handlers, just setting up of advertisements. Or even the simplest of BLE features?[/quote]
&lt;p&gt;Not really, the Softdevice (BLE stack) requires handlers to signalize events to the application. I would suggest that you check out &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK"&gt;NCS&lt;/a&gt;, it might be more fitting for you, especially if you have any previous experience with RTOS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unwanted libraries included in examples</title><link>https://devzone.nordicsemi.com/thread/294724?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 21:31:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56e6f6a4-c558-4ff5-806c-9aa483d73fe5</guid><dc:creator>haricane</dc:creator><description>&lt;p&gt;Thanks for getting back to me Jared. Great to see these bare metal examples. I will definitely be using this for my i2C and uart needs. Can Nordic share similar code for say setting up advertisements? I don&amp;#39;t need any events/ handlers, just setting up of advertisements. Or even the simplest of BLE features?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unwanted libraries included in examples</title><link>https://devzone.nordicsemi.com/thread/294650?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 14:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47020993-81df-4b84-898e-9da9b7f9f11d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the feedback, I&amp;#39;ll pass it onwards to the appropriate people. We recommend starting with one of our examples when building a project, starting &amp;quot;from scratch&amp;quot; is not recommended.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re looking for bare-metal examples for toggling a led then you can find it &lt;a href="https://github.com/andenore/NordicSnippets/tree/master/examples"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>