<?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[Memory related issue]]></title><description><![CDATA[<p dir="auto">I am using M5Stack-Core_esp32 . compiler arduino.<br />
when i compile my program it is showing that "sketch uses 1460566 bytes (111%) of program storage maximum is 1310720.<br />
I have used OTA code , BLE and uart. How can i increase program memory. It is suppose to be 2MB.<br />
It is showing only 1.25MB.</p>
]]></description><link>https://community.m5stack.com/topic/112/memory-related-issue</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:45:48 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/112.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Feb 2018 13:19:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Memory related issue on Mon, 12 Mar 2018 15:16:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/reaper7" aria-label="Profile: reaper7">@<bdi>reaper7</bdi></a> Hi Reaper7,</p>
<p dir="auto">thanks for adding that helpful example.</p>
]]></description><link>https://community.m5stack.com/post/590</link><guid isPermaLink="true">https://community.m5stack.com/post/590</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Mon, 12 Mar 2018 15:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Memory related issue on Mon, 12 Mar 2018 13:47:58 GMT]]></title><description><![CDATA[<p dir="auto">from <a href="http://desire.giesecke.tk/index.php/2018/01/30/change-partition-size/" target="_blank" rel="noopener noreferrer nofollow ugc">http://desire.giesecke.tk/index.php/2018/01/30/change-partition-size/</a></p>
<p dir="auto">inside ..<em>esp32\tools\partitions</em> add new file for e.g. <strong>bigapp.csv</strong> with content:</p>
<pre><code># Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x1E0000,
app1,     app,  ota_1,   0x1F0000,0x1E0000,
eeprom,   data, 0x99,    0x3F0000,0x1000,
spiffs,   data, spiffs,  0x3F1000,0xF000,
</code></pre>
<p dir="auto">and inside esp32\boards.txt add new(copy) board like:</p>
<pre><code>##############################################################

m5stack_bigapp.name=M5Stack_bigapp

m5stack_bigapp.upload.tool=esptool
m5stack_bigapp.upload.maximum_size=1966080
m5stack_bigapp.upload.maximum_data_size=294912
m5stack_bigapp.upload.wait_for_upload_port=true

m5stack_bigapp.serial.disableDTR=true
m5stack_bigapp.serial.disableRTS=true

m5stack_bigapp.build.mcu=esp32
m5stack_bigapp.build.core=esp32
m5stack_bigapp.build.variant=esp32
m5stack_bigapp.build.board=M5Stack_bigapp

m5stack_bigapp.build.f_cpu=240000000L
m5stack_bigapp.build.flash_size=4MB
m5stack_bigapp.build.flash_mode=dio
m5stack_bigapp.build.boot=dio
m5stack_bigapp.build.partitions=bigapp

m5stack_bigapp.menu.FlashMode.qio=QIO
m5stack_bigapp.menu.FlashMode.qio.build.flash_mode=dio
m5stack_bigapp.menu.FlashMode.qio.build.boot=qio
m5stack_bigapp.menu.FlashMode.dio=DIO
m5stack_bigapp.menu.FlashMode.dio.build.flash_mode=dio
m5stack_bigapp.menu.FlashMode.dio.build.boot=dio
m5stack_bigapp.menu.FlashMode.qout=QOUT
m5stack_bigapp.menu.FlashMode.qout.build.flash_mode=dout
m5stack_bigapp.menu.FlashMode.qout.build.boot=qout
m5stack_bigapp.menu.FlashMode.dout=DOUT
m5stack_bigapp.menu.FlashMode.dout.build.flash_mode=dout
m5stack_bigapp.menu.FlashMode.dout.build.boot=dout

m5stack_bigapp.menu.FlashFreq.80=80MHz
m5stack_bigapp.menu.FlashFreq.80.build.flash_freq=80m
m5stack_bigapp.menu.FlashFreq.40=40MHz
m5stack_bigapp.menu.FlashFreq.40.build.flash_freq=40m

m5stack_bigapp.menu.UploadSpeed.921600=921600
m5stack_bigapp.menu.UploadSpeed.921600.upload.speed=921600
m5stack_bigapp.menu.UploadSpeed.115200=115200
m5stack_bigapp.menu.UploadSpeed.115200.upload.speed=115200
m5stack_bigapp.menu.UploadSpeed.256000.windows=256000
m5stack_bigapp.menu.UploadSpeed.256000.upload.speed=256000
m5stack_bigapp.menu.UploadSpeed.230400.windows.upload.speed=256000
m5stack_bigapp.menu.UploadSpeed.230400=230400
m5stack_bigapp.menu.UploadSpeed.230400.upload.speed=230400
m5stack_bigapp.menu.UploadSpeed.460800.linux=460800
m5stack_bigapp.menu.UploadSpeed.460800.macosx=460800
m5stack_bigapp.menu.UploadSpeed.460800.upload.speed=460800
m5stack_bigapp.menu.UploadSpeed.512000.windows=512000
m5stack_bigapp.menu.UploadSpeed.512000.upload.speed=512000

m5stack_bigapp.menu.DebugLevel.none=None
m5stack_bigapp.menu.DebugLevel.none.build.code_debug=0
m5stack_bigapp.menu.DebugLevel.error=Error
m5stack_bigapp.menu.DebugLevel.error.build.code_debug=1
m5stack_bigapp.menu.DebugLevel.warn=Warn
m5stack_bigapp.menu.DebugLevel.warn.build.code_debug=2
m5stack_bigapp.menu.DebugLevel.info=Info
m5stack_bigapp.menu.DebugLevel.info.build.code_debug=3
m5stack_bigapp.menu.DebugLevel.debug=Debug
m5stack_bigapp.menu.DebugLevel.debug.build.code_debug=4
m5stack_bigapp.menu.DebugLevel.verbose=Verbose
m5stack_bigapp.menu.DebugLevel.verbose.build.code_debug=5

##############################################################
</code></pre>
<p dir="auto">then for your big apps you can select this board</p>
]]></description><link>https://community.m5stack.com/post/589</link><guid isPermaLink="true">https://community.m5stack.com/post/589</guid><dc:creator><![CDATA[reaper7]]></dc:creator><pubDate>Mon, 12 Mar 2018 13:47:58 GMT</pubDate></item><item><title><![CDATA[Reply to Memory related issue on Mon, 12 Mar 2018 12:53:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/remeshck" aria-label="Profile: remeshck">@<bdi>remeshck</bdi></a> Hi Remeshck,</p>
<p dir="auto">Check the discussion at the link below... hope it helps.</p>
<p dir="auto"><a href="http://forum.m5stack.com/topic/132/m5stack-ble-client-for-owon-b35t-multimeter/3" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/132/m5stack-ble-client-for-owon-b35t-multimeter/3</a></p>
]]></description><link>https://community.m5stack.com/post/588</link><guid isPermaLink="true">https://community.m5stack.com/post/588</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Mon, 12 Mar 2018 12:53:40 GMT</pubDate></item></channel></rss>