Page 1 of 1

Flashing with no factory partition

Posted: Wed Jun 27, 2018 6:27 pm
by kostyan5
A recent commit (3e0ac4db7931b7c234c180e743b7708d09482e70) removed PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET and is now extracting APP_OFFSET by looking for app/factory in partition table.

Our partition table doesn't have a factory subtype. Instead we use two app/ota partitions (app/ota_0 and app/ota_1), the OTA client is included in our firmware. At the same time, I want to be able to flash the firmware while testing and there doesn't seem to be a way to override APP_OFFSET in the makefile.

Is there a way to set a custom APP_OFFSET without modifying partition_table_get_info target in components/partition_table/Makefile.projbuild? I would like to keep esp-idf "original"

Thanks,

Konstantin

Re: Flashing with no factory partition

Posted: Wed Jun 27, 2018 11:33 pm
by chegewara

Re: Flashing with no factory partition

Posted: Wed Jun 27, 2018 11:38 pm
by kostyan5
That's it. Thanks.