Fix test and work with bootloader

Fix tests

Fix commit
This commit is contained in:
Valentin Dabstep 2025-06-03 10:48:29 +03:00
parent e9fb2656b8
commit 05621e7150
11 changed files with 128 additions and 54 deletions

View file

@ -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)