Closed kostuch closed 1 year ago
Thanks for reporting, should be fixed in the development branch.
@valeros Thank you for the immediate patch. How about flashing in such case? Will it also set the factory partition as a target for upload?
How about flashing in such case? Will it also set the factory partition as a target for upload?
Flashing is completely different process, the default address for application is set to 0x10000
and is not affected by the values from the partition file.
I try to build for setup when I have custom small app factory partition and two ota. CASE1: When partition table has only factory partition, the compilation size reflect the partition size CASE2: When I add one or two ota partitions, the build (and probably upload) reflect the ota partition size. The code is just empty setup() and loop().
platformio.ini
part_table.csv
After uncomment ota definition in part_tables.csv and build again
Setting offset to 0x10000 for factory makes no change to this behavior. This is for esp32c3, but for esp32 I have same situation. What can be done to force build and upload to factory partition, but have also ota deifinitions?