Creating larger ROMs

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Posts: 8
Joined: Tue Jul 02, 2019 1:49 pm

Re: Creating larger ROMs

Post by pthwebdev » Sat Jul 20, 2019 8:35 pm

OK, that was a lot of work. This is my first external module, so there were quite a lot of things I had to find out.

The bad news: 0x4030000 is indeed the limit when reading flash as regular memory. The pattern is not exactly as in the documentation, but the data is, read after read, dump after dump, not stable beyond the limit. Probably some random noise.

The good news is: porting the code does read the resources, even beyond 0x4030000.

The code is still somewhat rough around the edges and needs some work (e.g. an iterator, see if it works with the webserver). I did not have time to paint it or to build it to scale.

The complete image is 2973032 and has 2352680 bytes of resources. This is exaggerated because there are many copies of the same jpg.

I am happy with the result.

Post Reply