<?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>Example Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118666/example-code</link><description>Two simple questions: 
 1) I&amp;#39;m using the Zephyr OS on the nRF52832. What is the easiest API for storing a small amount of data in FLASH memory? 
 2) Is there an index of the sample/example code for the nRF52 products? 
 Thanks, 
 Jim</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Feb 2025 13:12:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118666/example-code" /><item><title>RE: Example Code</title><link>https://devzone.nordicsemi.com/thread/521727?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2025 13:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65028b77-803b-41b4-a06a-aaf84397bd5f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1)&amp;nbsp; I&amp;#39;m using the Zephyr OS on the nRF52832.&amp;nbsp; What is the easiest API for storing a small amount of data in FLASH memory?[/quote]
&lt;p&gt;The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/settings/index.html"&gt;settings subsystem&lt;/a&gt;&amp;nbsp;with the sample suggested by tom is a great starting point. &amp;nbsp;&lt;/p&gt;
[quote user=""]2)&amp;nbsp; Is there an index of the sample/example code for the nRF52 products?[/quote]
&lt;p&gt;As of now, no there are no such index in nRF Connect SDK. All samples does however have a &amp;quot;requirements&amp;quot; matrix near the top showcasing which samples are supported. If you select samples through the VS Code extension, you can also see which boards are supported when selecting the board in the build configuration (given that you have checked off &amp;quot;supported boards&amp;quot;)&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example Code</title><link>https://devzone.nordicsemi.com/thread/521639?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 23:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:919e699b-a151-48a7-baa2-e7d70f5835ab</guid><dc:creator>tom</dc:creator><description>&lt;p&gt;I&amp;#39;m just a beginner, but try this:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/services/settings/index.html"&gt;Settings &amp;mdash; Zephyr Project Documentation&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>