Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
horw committed Feb 20, 2024
1 parent f137ce0 commit 9f0713a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest-embedded-idf/pytest_embedded_idf/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def erase_partition(self, partition_name: str) -> None:
if partition_name in self.app.partition_table:
address = self.app.partition_table[partition_name]['offset']
size = self.app.partition_table[partition_name]['size']
print('ERASE PARTITION', self._force_flag())
logging.info(f'Erasing the partition "{partition_name}" of size {size} at {address}')
esptool.main(['erase_region', str(address), str(size), *self._force_flag()], esp=self.esp)
else:
Expand Down

0 comments on commit 9f0713a

Please sign in to comment.