diff options
author | Justin Schuh <jschuh@users.noreply.github.com> | 2021-06-11 17:41:15 -0700 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-07-20 18:05:05 -0400 |
commit | bb801905be7b4cc0fe12b350cd2c04230e1f7062 (patch) | |
tree | 0f21e39dbd026d92d755063ec456f74ae1583606 /klippy/extras/tmc_uart.py | |
parent | 10e72c4b6fcea480094a123ae73c5efeb4272dec (diff) | |
download | kutter-bb801905be7b4cc0fe12b350cd2c04230e1f7062.tar.gz kutter-bb801905be7b4cc0fe12b350cd2c04230e1f7062.tar.xz kutter-bb801905be7b4cc0fe12b350cd2c04230e1f7062.zip |
spi_flash: Make SD updates more tolerant of flaky boards
Validation passes if either of the following succeeds (in order):
1. Active firmware's raw dictionary changed after update
2. Checksum of firmware.cur matches expected
Additionally, deletes firmware.bin if found after update succeeds.
Signed-off-by: Justin Schuh <code@justinschuh.com>
Diffstat (limited to 'klippy/extras/tmc_uart.py')
0 files changed, 0 insertions, 0 deletions