<?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[How to use the full size of the partition with PlatformIO?]]></title><description><![CDATA[<p dir="auto">Hi everyone,<br />
I bought a M5Core2 with Flash 16MB and PSRAM 8MB, but with PlatformIO, I'm not able to use the whole space.<br />
I created a partition csv file (see below), but it seems not really working well</p>
<pre><code># Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app,      app,  ota_0,   0x10000, 0xff0000,
</code></pre>
<p dir="auto">I always receive this kind of errors:</p>
<pre><code>.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/m5stack-core2/firmware.elf section `.flash.rodata' will not fit in region `drom0_0_seg'
.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: region `drom0_0_seg' overflowed by 247536 bytes
</code></pre>
<p dir="auto">I really don't know what to do with that.<br />
Without my little change, platformio returns:</p>
<pre><code>RAM:   [          ]   1.8% (used 119212 bytes from 6553600 bytes)
Flash: [==        ]  20.9% (used 3485493 bytes from 16711680 bytes)
</code></pre>
<p dir="auto">So I should have available spaces ^^'</p>
<p dir="auto">Any idea?</p>
]]></description><link>https://community.m5stack.com/topic/4060/how-to-use-the-full-size-of-the-partition-with-platformio</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 19:12:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4060.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Feb 2022 16:24:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use the full size of the partition with PlatformIO? on Fri, 18 Feb 2022 16:44:18 GMT]]></title><description><![CDATA[<p dir="auto">Everything is reproducible here: <a href="https://github.com/PierreRambaud/pokegotchi/tree/try/partitions" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/PierreRambaud/pokegotchi/tree/try/partitions</a></p>
]]></description><link>https://community.m5stack.com/post/16703</link><guid isPermaLink="true">https://community.m5stack.com/post/16703</guid><dc:creator><![CDATA[GoT]]></dc:creator><pubDate>Fri, 18 Feb 2022 16:44:18 GMT</pubDate></item></channel></rss>