0
votes

I'm using ESP32 with MicroPython with Mu. I need more flash space for my code and normally I would select "Huge APP" in the Arduino menu and that would remove the OTA and spiffs.

How can I do that with MicroPython firmware? I can imagine, it will be possible through the terminal, with esptool.py or Ampy, but can't figure it out.

Thanks

2

2 Answers

1
votes

I have been messing around with the same thing just not really there yet.

I have found an option here for different firmware stuff : https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo

There are some pre built firmware options you can select and I have found most of their stuff really useful.

If that is not what you are looking for I think you are going to need to change the partition layout with an option in esptool.

Make sure the ESP you are using has the correct flash size allocations obviously first. ( Some can have external chips I have found, not sure what board you are using )

I have never done that before so I am not qualified to give you info on it.

0
votes

the simplest option is to use an ESP32 with SPIRAM and use one of the firmwares that support that.
While LoBo was the first, this is now well supported by most MicroPython families.

https://micropython.org/download/esp32/