<?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>For Flash operation in nRF51822,PSTROEAGE program have limited question.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1292/for-flash-operation-in-nrf51822-pstroeage-program-have-limited-question</link><description>Hell.
I will use flash from pstoreage.c . but seem to only use for bondmange. I find an define:
#define PSTORAGE_MAX_APPLICATIONS 2
This is just for &amp;quot;mp_flash_bond_info&amp;quot; and &amp;quot;mp_flash_sys_attr&amp;quot;, if I add my application, is it OK?
I can use pstoreage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 10 Oct 2015 02:50:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1292/for-flash-operation-in-nrf51822-pstroeage-program-have-limited-question" /><item><title>RE: For Flash operation in nRF51822,PSTROEAGE program have limited question.</title><link>https://devzone.nordicsemi.com/thread/5943?ContentTypeID=1</link><pubDate>Sat, 10 Oct 2015 02:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe75e4d8-25cd-47c6-a619-0d0a92fb4d22</guid><dc:creator>pkarc</dc:creator><description>&lt;p&gt;In case you are looking for PSTORAGE_MAX_APPLICATIONS since version 3.0.1 its now called PSTORAGE_NUM_OF_PAGES&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: For Flash operation in nRF51822,PSTROEAGE program have limited question.</title><link>https://devzone.nordicsemi.com/thread/5942?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2014 15:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3ea4293-a41d-4a1d-beb1-d00a9a32421c</guid><dc:creator>Krishna Shingala</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;PSTORAGE_MAX_APPLICATIONS  is a part of the platform file to permit configuration based on requirement. Therefore, if you want to add one or more modules that needs to use flash, you should configure PSTORAGE_MAX_APPLICATIONS  according to your requirement.&lt;/p&gt;
&lt;p&gt;If you look at alert notification example that also requires persistent data storage of bonded ANS serves, it uses a PSTORAGE_MAX_APPLICATIONS  of 3, 2 for bond manager and for ANS client. Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>