west: esp32: Fix target flashing without the IDF boot
Make use of the IDF partition table only if asked to. Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
parent
4796746b5e
commit
8e40db577a
1 changed files with 3 additions and 2 deletions
|
@ -112,8 +112,9 @@ class Esp32BinaryRunner(ZephyrBinaryRunner):
|
||||||
|
|
||||||
if self.bootloader_bin:
|
if self.bootloader_bin:
|
||||||
cmd_flash.extend([self.boot_address, self.bootloader_bin])
|
cmd_flash.extend([self.boot_address, self.bootloader_bin])
|
||||||
cmd_flash.extend([self.part_table_address, self.partition_table_bin])
|
if self.partition_table_bin:
|
||||||
cmd_flash.extend([self.app_address, self.app_bin])
|
cmd_flash.extend([self.part_table_address, self.partition_table_bin])
|
||||||
|
cmd_flash.extend([self.app_address, self.app_bin])
|
||||||
else:
|
else:
|
||||||
cmd_flash.extend([self.app_address, self.app_bin])
|
cmd_flash.extend([self.app_address, self.app_bin])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue