libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
401 stars 59 forks source link

Difference between RTL877710BN 468k and 7788k #188

Closed Weissnix4711 closed 11 months ago

Weissnix4711 commented 11 months ago

Hi, sorry if I'm being exceptionally dumb here, but what's the difference between the generic-rtl8710bn-2mb-468k and generic-rtl8710bn-2mb-788k boards? The board definition json for each seems identical (other than the name), and I can't figure out what the numbers actually refer to.

Cossid commented 11 months ago

The difference is the partition layout, which affects how large the app partition is, and in effect, how large of an OTA the device can handle.

You can see the corresponding flash layout on each format's docs page; 468k: https://docs.libretiny.eu/boards/generic-rtl8710bn-2mb-468k/#flash-memory-map 788k: https://docs.libretiny.eu/boards/generic-rtl8710bn-2mb-788k/#flash-memory-map

The 468k layout has a large user storage section.

If you are only OTAing, you are stuck with and bound to your current partition sizing. If you are serial flashing, you can choose the optimal layout for your needs.

There are no pin or hardware differences between the two.

Weissnix4711 commented 11 months ago

Gotcha, thanks.