Closed Lisa999 closed 6 years ago
@Lisa999 I think (but I'm not sure) that the newer ESP-IDF actually checks partition length, whereas older ones did not. IIRC, the partition table wasn't updated for MP, we just moved the flash start sector further out.
In the interim, you can edit <ESPIDF>/components/partition_table/partitions_singleapp.csv
, and increase the "factory, app" size from 1M
to 0x180000
.
@dpgeorge I'll get a PR soon to rectify this.
@Lisa999 Can you test this PR, please?
Typo in partitions.csv!
Typo in partitions.csv!
Yes, there was. Thanks for the catch @robert-hh. Fixed now.
@MrSurly: It's working! Thanks a lot! uPyEasy is putting a LOT of demands on micropython, i'm aware of it. The upside is that it's running cross-platform, which is a major benefit.
@Lisa999 I think (but I'm not sure) that the newer ESP-IDF actually checks partition length, whereas older ones did not. IIRC, the partition table wasn't updated for MP, we just moved the flash start sector further out.
In the interim, you can edit
<ESPIDF>/components/partition_table/partitions_singleapp.csv
, and increase the "factory, app" size from1M
to0x180000
.@dpgeorge I'll get a PR soon to rectify this. Can I increase the "factory, app" size from
1M
to a number that larger than 0x18000?Because I still fail even if I increase it to0x180000
Thank you very much ...It is working for me
@Lisa999 I think (but I'm not sure) that the newer ESP-IDF actually checks partition length, whereas older ones did not. IIRC, the partition table wasn't updated for MP, we just moved the flash start sector further out.
In the interim, you can edit
<ESPIDF>/components/partition_table/partitions_singleapp.csv
, and increase the "factory, app" size from1M
to0x180000
.@dpgeorge I'll get a PR soon to rectify this.
Working for me
This works for me issue rectified
Standard ESP32 code + mrsurly's dev_sleep patch to implement machine.RTC. This error did NOT happen on the standard ESP32 branch (but then i have no RTC). I thought the partition table was adjusted to the firmware size?