#222 More Memory for the ESP32 without Soldering (How-to adapt partition sizes)
Andreas Spiess
Sometimes we need more memory for our sketches. In this quickie, I show you how you get it without heating up your soldering iron.
Most of the ESP32 modules have 4Mbyte flash memory chips. But if you look at the usable memory size, you only get 1310720 bytes, which is roughly one-quarter of your flash memory. With a blink sketch, this is no problem. It only uses 13% of the available space. But if you use the simple BLE_server example, which is just a few lines long, it occupies already 85% of your flash memory. If you add some other libraries, you quickly get an “out of memory” error. Partitioning and ESP32 partition tables provide the solution.
Links: ESP32 boards: http://s.click.aliexpress.com/e/7xUZti0
Supporting Material and Blog Page: http://www.sensorsiot.org Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess My Bitcoin address: 19FSmqbBzb5zsYB1d8Bq4KbxVmezToDNTV If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel For Banggood https://bit.ly/2jAQEf4 For AliExpress: http://bit.ly/2B0yTLL For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409 https://twitter.com/spiessa https://www.instructables.com/member/Andreas%20Spiess/ Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
Equipment in my lab: http://www.sensorsiot.org/my-lab/ ... https://www.youtube.com/watch?v=Qu-1RK4Fk7g
8391590 Bytes