1

I am pretty sure that everyone have seen the low flash memory error, the same I have got while making my raycaster. So, I was thinking that is there any way to increase the flash memory of ESP32 with an SD card?

I'll connect an SD card module to ESP32 and I'll have 4GB of flash memory. Is there any way? The SD card should act as an external flash memory in any way.

9
  • 1
    Have you try to change the partition scheme setting (from IDE, tools->partition scheme)? If you don't use OTA, you could allocate more flash memory to your code. SD card is more for storing data, it does not help if you are running of program space.
    – hcheung
    Commented Apr 7 at 10:09
  • I did but my code exceeded even that limit and there is much to add to my 3d game
    – Aditya Roy
    Commented Apr 8 at 9:22
  • Is there any way to use a sd card as my flash memory
    – Aditya Roy
    Commented Apr 8 at 9:23
  • There are ESP32 boards with 8MB or even 16MB available in the market. Or replace your existing flash chip with bigger one if you are capable of doing electronics hack (provided the module use external flash chip). Another alternative is to pick a linux box (such as Raspberry Pi) with CPU instead of a MCU for game development.
    – hcheung
    Commented Apr 8 at 12:44
  • I know I can do it but if sd card could act as an storage for flash then it could help in other project . But right now I am determined to do this
    – Aditya Roy
    Commented Apr 8 at 14:28

1 Answer 1

0

You should be able to use the Huge APP partition scheme:

Huge App partition scheme

Reference: [Solved] Increasing the flash memory size Using Partition in ESP32....

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.