<?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>[Zephyr Settings NVS] 2 settings, one in internal flash, one in external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93895/zephyr-settings-nvs-2-settings-one-in-internal-flash-one-in-external-flash</link><description>Hi, I am working on a Homekit project and the nRF Homekit SDK uses NVS settings to store data in the internal flash. Is it possible that I can add another partition in the external flash and still use Zephyr NVS Settings to store data there for my application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Nov 2022 11:27:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93895/zephyr-settings-nvs-2-settings-one-in-internal-flash-one-in-external-flash" /><item><title>RE: [Zephyr Settings NVS] 2 settings, one in internal flash, one in external flash</title><link>https://devzone.nordicsemi.com/thread/395954?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 11:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54eff7e9-dc33-45f1-b4f4-f47d4bf71f6e</guid><dc:creator>Anthony Yuan</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You are right, settings API is not a must.&lt;/p&gt;
&lt;p&gt;I added a partition today and use NVS apis on it and it works properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anthony Yuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zephyr Settings NVS] 2 settings, one in internal flash, one in external flash</title><link>https://devzone.nordicsemi.com/thread/395838?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 15:32:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61d6d8bf-5aca-4a31-9f4a-672bce6f2b93</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Anthony,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am not aware of a way to have multiple setting partitions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;But do you need setting on both location ? Or if it&amp;#39;s just extra NVS partition to store nonvolatile data to flash is ok ? If it&amp;#39;s the case I don&amp;#39;t see a problem define an extra partition and assign&amp;nbsp;a filesystem to it to store your data using nvs APIs. You can have a look &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/65528/nrf9160-defining-extra-flash-partition"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>