<?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/zephyr_pre0.elf section `text&amp;#39; will not fit in region `FLASH&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102869/zephyr-zephyr_pre0-elf-section-text-will-not-fit-in-region-flash</link><description>Hello, 
 I&amp;#39;m attempting to re-build my application to run on an Adafruit Feather nRF52840 Express instead of the nRF52840DK that I have. When I build the application targeting the nRF52840DK it builds fine, but when I target the Feather I get the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Aug 2023 14:44:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102869/zephyr-zephyr_pre0-elf-section-text-will-not-fit-in-region-flash" /><item><title>RE: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'</title><link>https://devzone.nordicsemi.com/thread/441677?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 14:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9603ee38-c365-4b3c-a640-2bb67390106e</guid><dc:creator>Chris Boyer</dc:creator><description>&lt;p&gt;It did not, but it ended up coming to my attention that it&amp;#39;s probably the lack of on-board flash on the feather. I was suggested to disable DFU, which has resolved my issue -- tho, opened up it&amp;#39;s own set of issues for me address down the road.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'</title><link>https://devzone.nordicsemi.com/thread/441467?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9caace00-d696-44bd-9665-c6de4829face</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should put&amp;nbsp;&lt;span&gt;CONFIG_PM_PARTITION_SIZE_MCUBOOT&amp;nbsp;&lt;/span&gt;&lt;span&gt;in&amp;nbsp;&lt;/span&gt;&lt;span&gt;child_image/mcuboot.conf and then try with different values like 0x10000 or&amp;nbsp;0x30000 and so on.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can&amp;nbsp;CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x80000 fix the issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'</title><link>https://devzone.nordicsemi.com/thread/441464?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:247aa9e5-1464-4dc6-8acb-23491d301149</guid><dc:creator>Chris Boyer</dc:creator><description>&lt;p&gt;Sorry, that&amp;#39;s what I meant to say. &lt;span&gt;When I added CONFIG_PM_PARTITION_SIZE_MCUBOOT&amp;nbsp;in my pro.conf the build failed to find that symbol, but when I put it in&amp;nbsp;&lt;/span&gt;&lt;span&gt;child_image/mcuboot.conf it failed with the same&amp;nbsp;initial error (though with a different byte size of&amp;nbsp;358664.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'</title><link>https://devzone.nordicsemi.com/thread/441463?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e45dcb6-fe0a-4ea5-a9b6-2a0caee73c9b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Try to increase the value of&amp;nbsp;&lt;span&gt;CONFIG_PM_PARTITION_SIZE_MCUBOOT.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'</title><link>https://devzone.nordicsemi.com/thread/441459?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 18:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cafebdb6-beba-4565-a9d7-83a715033c54</guid><dc:creator>Chris Boyer</dc:creator><description>&lt;p&gt;I believe so, though I&amp;#39;m not exactly sure how to tell. I have a child_image/mcuboot in my project, and I see messages around it (like &amp;quot;=== child image mcuboot - &amp;nbsp;begin ===&amp;quot;) in my build logs. When I put that config in my pro.conf the build failed to find that symbol, but when I put it in&amp;nbsp;&lt;span&gt;child_image/mcuboot.conf it failed with the same&amp;nbsp;initial error (though with a different byte size of&amp;nbsp;358664.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'</title><link>https://devzone.nordicsemi.com/thread/441432?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 15:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b8c82da-1354-4077-96a7-719f2ae31729</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you build with mcuboot? If so, try to set&amp;nbsp;CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000 or increase it in the child_image/mcuboot.conf&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>