mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix backup length
we were accidentally also backing up the WF200 firmware as well, chop that off so that the analysis scripts & restore works correctly.
This commit is contained in:
parent
ef29e6e504
commit
ba7532a4fe
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ def main():
|
|||
else:
|
||||
with open("backup.pddb", "wb") as file:
|
||||
start_addr = locs['LOC_PDDB'][0] - 0x1000
|
||||
total_length = locs['LOC_EC'][0] - locs['LOC_PDDB'][0] + 0x1000
|
||||
total_length = locs['LOC_WF200'][0] - locs['LOC_PDDB'][0] + 0x1000
|
||||
progress = ProgressBar(min_value=0, max_value=total_length, prefix='Backing up ').start()
|
||||
block_size = 4096
|
||||
amount_read = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue