ESP32-MiniWebRadio icon indicating copy to clipboard operation
ESP32-MiniWebRadio copied to clipboard

Which partition scheme should be used for a 16MB ESP32 board?

Open dreamy1 opened this issue 2 years ago • 8 comments

Hello,

thanks for this great work!

I am confused how to start with the arduino IDE with several partition schemes to choose, for a ESP32 devkit board there are following options e.g.:

snip_20220403195349

Which option is the right one to choose?

Thanks, Stefan

dreamy1 avatar Apr 03 '22 18:04 dreamy1

Hello @dreamy1, we need a special partition table with large nvs. The data is in miniwebradio.cvs. PlatformIO takes care of the correct partitioning for us. Another IDE requires some manual configuration.

best regards Wolle

schreibfaul1 avatar Apr 03 '22 18:04 schreibfaul1

Hello Wolle,

thank you very much - so it will create a manual partition table in the IDE, this should work.

Thanks for quick response! Stefan

dreamy1 avatar Apr 03 '22 19:04 dreamy1

Ich sehe gerade dass wir wohl beide aus D kommen :-)

Darf ich noch fragen, ob ein LAN bzw. Ethernet Support geplant ist? Ich habe hier gerade eine Version mit LAN8720 designt. Die findet gerade in der Ecke der Hausautomatisierer reichlich Anklang und wäre eine große Bereicherung - es gibt viele, die bevorzugen einfach Kabel (mich eingeschlossen)...

Sorry für OT - ich mache gerne einen neuen Punkt auf, wenn Dir das besser passt.

Viele Grüße, Stefan

dreamy1 avatar Apr 03 '22 19:04 dreamy1

Um nochmal auf die Partition zurückzukommen. Du kannst die csv in /tools/partitions kopieren und die boards.txt für dein Board erweitern. Dann ist die neue Partition in der IDE auswählbar. Mil LAN habe ich bisher nichts gemacht, wenn es dann bei dir funktioniert kannst Du gerne einen PR einstellen. vG Wolle

schreibfaul1 avatar Apr 03 '22 20:04 schreibfaul1

Hallo Wolle,

vielen Dank für die Rückmeldung - so hatte ich das vor, das ist sicher der beste Weg mit der Erweiterung der boards.txt.

Ich versuche das mit LAN mal ans Laufen zu bekommen.

Lieben Dank für Deine Hilfe und viele Grüße, Stefan

dreamy1 avatar Apr 03 '22 21:04 dreamy1

Hello @dreamy1, we need a special partition table with large nvs. The data is in miniwebradio.cvs. PlatformIO takes care of the correct partitioning for us. Another IDE requires some manual configuration.

best regards Wolle

Hello. Can you explain in details how to do it with Arduino IDE.

Thank you. Marc.

nodoubtman avatar Jun 06 '22 00:06 nodoubtman

Hello Marc, the problem is actually the partition table. I haven't worked with the Arduino IDE for a long time. The easiest way might be to rewrite an existing partition table. Take the content of the miniwebradio.csv and copy it into the huge_app.csv. A simple editor is sufficient for this. For this it is necessary to find out where the Arduion IDE saves the current framework.

The easy way: Install VSCode. VSCode is available for many operating systems. Then add the PlatformIO extension. There is not much more to do. PlatformIO does everything else for you.

Best regards Wolle

schreibfaul1 avatar Jun 06 '22 04:06 schreibfaul1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 19:08 stale[bot]