SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.48k stars 346 forks source link

bigflash and OTA with rom of 1MB #1118

Open daffysub opened 7 years ago

daffysub commented 7 years ago

Hi,

I'm not sure to understand, because I didn't find detail about bigflash and support of OTA with 2 ROM of 1 MBytes.

You give an example with 1 ROM of 1 Mbytes and an other example with2 ROMs of 512kByte. But nothing for 2 ROM of 1 MBytes.

So, my questions are :

Thank you in adavance.

Best regard

raburton commented 7 years ago

Yes, you can do that. Two roms of 1mb is easy, you only need to link one rom file which can be flashed at any (or multiple) 1mb boundary/ies on the flash. So you don't need rom1.ld. The Basic_rBoot sample does what you want and is already configured to run on 4mb flash (e.g. esp12).