<?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>flash_read(), flash_write() giving compile errors when used in Nordic Matter sample (light_bulb), but not Nordic Thread (CLI) sample.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106233/flash_read-flash_write-giving-compile-errors-when-used-in-nordic-matter-sample-light_bulb-but-not-nordic-thread-cli-sample</link><description>Hello, 
 I have an issue where a piece of code was working well as an addition to the Nordic Thread CLI sample and when I ported that same piece of code to the Nordic Matter light_bulb sample it fails to compile. I am not sure how to resolve this. Any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Dec 2023 15:30:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106233/flash_read-flash_write-giving-compile-errors-when-used-in-nordic-matter-sample-light_bulb-but-not-nordic-thread-cli-sample" /><item><title>RE: flash_read(), flash_write() giving compile errors when used in Nordic Matter sample (light_bulb), but not Nordic Thread (CLI) sample.</title><link>https://devzone.nordicsemi.com/thread/458568?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 15:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220ab78a-3f07-47e2-8a93-242690a4c5fb</guid><dc:creator>SteveKranz</dc:creator><description>&lt;p&gt;Thanks Marte, I&amp;#39;m glad I asked the question as I&amp;#39;m sure I would never have figured that out myself. I really appreciate your answer. I made the suggested change and it indeed fixed the build issue and the runtime results are as expected.&lt;/p&gt;
&lt;p&gt;Thanks again, Steve K., PuzL Labs, LLC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash_read(), flash_write() giving compile errors when used in Nordic Matter sample (light_bulb), but not Nordic Thread (CLI) sample.</title><link>https://devzone.nordicsemi.com/thread/458504?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 12:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d2c70e3-b925-4f2b-be0f-3595662f99ca</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The partitions in devicetree are overwritten by the partitions set in the static partition file, &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.5.0/samples/matter/light_bulb/configuration/nrf52840dk_nrf52840/pm_static_dfu.yml"&gt;pm_static_dfu.yml&lt;/a&gt;, so puzl_partition is not added as a partition. You need to add your partition to the pm_static_dfu.yml file instead:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;...
settings_storage:
  address: 0xf8000
  size: 0x7000
  region: flash_primary
puzl_partition:
  address: 0xff000
  size: 0x1000
  region: flash_primary
mcuboot_secondary:
  address: 0x0
...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>