Flashing with no factory partition

kostyan5
Posts: 50
Joined: Mon Mar 06, 2017 3:16 pm

Flashing with no factory partition

Postby kostyan5 » Wed Jun 27, 2018 6:27 pm

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

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: Flashing with no factory partition

Postby chegewara » Wed Jun 27, 2018 11:33 pm


kostyan5
Posts: 50
Joined: Mon Mar 06, 2017 3:16 pm

Re: Flashing with no factory partition

Postby kostyan5 » Wed Jun 27, 2018 11:38 pm

That's it. Thanks.

Who is online

Users browsing this forum: No registered users and 398 guests