<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Preferences library on M5Core]]></title><description><![CDATA[<p dir="auto">Hi all !</p>
<p dir="auto">I'm planning to use the Preferences library to store some information in my M5Core. At some point i will need to change the values I'm storing there and one of these values is a large chunk of an html page (over 20 kB). Changes won't be needed that often so I don't think I'll harm the flash memory. However, what's my best strategy for updating ? Just save the new key value ? Set the key to a Null String then save the new page ? Remove the key then recreate it ? Does it make any difference in the way the flash memory is managed ?</p>
<p dir="auto">Thanks for your help,<br />
Daniel</p>
]]></description><link>https://community.m5stack.com/topic/2963/preferences-library-on-m5core</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 00:15:18 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2963.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Feb 2021 15:48:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Preferences library on M5Core on Thu, 18 Feb 2021 07:27:10 GMT]]></title><description><![CDATA[<p dir="auto">as I recall there is a size limit when using Preference lib, so suggest you only use that for things like ssid and passwords. You can save your web pages in SPIFFS memory, try look here: <a href="https://randomnerdtutorials.com/esp32-vs-code-platformio-spiffs/" target="_blank" rel="noopener noreferrer nofollow ugc">https://randomnerdtutorials.com/esp32-vs-code-platformio-spiffs/</a></p>
]]></description><link>https://community.m5stack.com/post/12539</link><guid isPermaLink="true">https://community.m5stack.com/post/12539</guid><dc:creator><![CDATA[AgreeDK]]></dc:creator><pubDate>Thu, 18 Feb 2021 07:27:10 GMT</pubDate></item></channel></rss>