Custom partitioning #462
Replies: 1 comment
-
The firmware fits just fine with the partition size that is made. Take note of the partition size and then If you edit /lib/lv_config.h and turn off a bunch of the widgets and compile again you are going to notice that the partition size is smaller. The build system sizes the application partition so it fits the binary with a little wasted space as possible. It does this because only the firmware gets written to that partition and it's not accessible from user code at all. Having a bunch of space on that partition is a waste because it is never going to be able to be used. It's a good thing that the build system does this because it makes sure that you have the ability to use as much of the resources as possible. That is the reason why I wrote the build system that way.. However if you want to manually control the partition size then you should read over the README.MD file located in the root of the repository. I lists all of the build options that are available. There are a couple of build options available for the partitions and there is also an option to be able to make a custom board where you would have a partition file that is supplied by you that gets used. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I'm using ESP32 M5stack basic with only 4mb of storage. Default firmware build barely fits the partitions.
I know how to configure/resize partitions when using the esp-idf toolset, but how do i supply a custom partitions.csv to lvlg_micropython toolset?
Do i have to create a new board definition/toml? I would prefer to just use a custom partitions.csv.
Beta Was this translation helpful? Give feedback.
All reactions