mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
app_update: Fix argument of ParttoolTarget
This commit is contained in:
@@ -53,7 +53,7 @@ class OtatoolTarget():
|
|||||||
def __init__(self, port=None, partition_table_offset=PARTITION_TABLE_OFFSET, partition_table_file=None,
|
def __init__(self, port=None, partition_table_offset=PARTITION_TABLE_OFFSET, partition_table_file=None,
|
||||||
spi_flash_sec_size=SPI_FLASH_SEC_SIZE, esptool_args=[], esptool_write_args=[],
|
spi_flash_sec_size=SPI_FLASH_SEC_SIZE, esptool_args=[], esptool_write_args=[],
|
||||||
esptool_read_args=[], esptool_erase_args=[]):
|
esptool_read_args=[], esptool_erase_args=[]):
|
||||||
self.target = ParttoolTarget(port, partition_table_offset, partition_table_file, esptool_args,
|
self.target = ParttoolTarget(port, None, partition_table_offset, partition_table_file, esptool_args,
|
||||||
esptool_write_args, esptool_read_args, esptool_erase_args)
|
esptool_write_args, esptool_read_args, esptool_erase_args)
|
||||||
self.spi_flash_sec_size = spi_flash_sec_size
|
self.spi_flash_sec_size = spi_flash_sec_size
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user