Fix test and work with bootloader
Fix tests Fix commit
This commit is contained in:
parent
e9fb2656b8
commit
05621e7150
11 changed files with 128 additions and 54 deletions
|
@ -46,7 +46,7 @@ def flash_hex_with_stlink(hex_file_path):
|
|||
if reset_result.returncode == 0:
|
||||
print("♻️ Устройство успешно сброшено!")
|
||||
else:
|
||||
print(f"⚠️ Ошибка сброса (код: {reset_result.returncode})")
|
||||
print(f"⚠️ Ошибка (код: {reset_result.returncode})")
|
||||
print("▬▬▬ STDERR сброса ▬▬▬")
|
||||
print(reset_result.stderr)
|
||||
except Exception as e:
|
||||
|
@ -75,4 +75,4 @@ if __name__ == "__main__":
|
|||
if flash_hex_with_stlink(sys.argv[1]):
|
||||
sys.exit(0)
|
||||
else:
|
||||
sys.exit(1)
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue