erase log flash sectors in DFU recovery (#1661)

* erase log flash sectors in DFU recovery

* always erase by sector

* erase all

* fix
This commit is contained in:
Adeeb Shihadeh
2023-09-14 12:49:59 -07:00
committed by GitHub
parent 68a2000776
commit a660e342fd
5 changed files with 12 additions and 19 deletions

View File

@@ -403,12 +403,6 @@ class STBootloaderSPIHandle(BaseSTBootloaderHandle):
# *** PandaDFU API ***
def erase_app(self):
self.erase_sector(1)
def erase_bootstub(self):
self.erase_sector(0)
def get_mcu_type(self):
return self._mcu_type