<?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>Why is *p_flash_info variable ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77653/why-is-p_flash_info-variable</link><description>Just a naive question about the definition of nrf_fstorage_t , it has a member nrf_fstorage_info_t *p_flash_info . 
 Why the type isn&amp;#39;t nrf_fstorage_info_t const* ? 
 Tell me if I am wrong : doesn&amp;#39;t it contain only information known at compile time. OK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jul 2021 07:01:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77653/why-is-p_flash_info-variable" /><item><title>RE: Why is *p_flash_info variable ?</title><link>https://devzone.nordicsemi.com/thread/321951?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 07:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a207a2a-89cf-4811-86e2-512311b647eb</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;That makes sense. I will consider the case resolved then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is *p_flash_info variable ?</title><link>https://devzone.nordicsemi.com/thread/321765?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 10:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dca507c8-4851-4565-b02f-abc7846231cb</guid><dc:creator>Vincent Bela&amp;#239;che</dc:creator><description>&lt;p&gt;Thank you for the feedback. Actually this would be a tiny&amp;nbsp;optimization&amp;nbsp;:&amp;nbsp;I was more seeking confirmation of my understanding that this does not change dynamically.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is *p_flash_info variable ?</title><link>https://devzone.nordicsemi.com/thread/321762?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 09:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f39beb6a-21e4-4b69-8e0a-526de0e2112b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;The developer confirmed that&amp;nbsp;this pointer could have been a const pointer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately I don&amp;#39;t expect this to be changed, as the nRF5 SDK is no longer in active development.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to take advantage of this change yourself I would recommend making a local copy of the nrf_fstorage.h file, and update it with this change.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is *p_flash_info variable ?</title><link>https://devzone.nordicsemi.com/thread/321407?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 15:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52072463-055d-4cf0-b7d9-8db7ea8a449e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Vincent&lt;/p&gt;
&lt;p&gt;I will check with the developers if it there is a particular reason why this field wasn&amp;#39;t defined as a const pointer. Normally this would imply that the values might change at runtime, but I agree that doesn&amp;#39;t seem very likely for these values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>