JoNil / elf2uf2-rs

BSD Zero Clause License
81 stars 31 forks source link

Special case elf2uf2 failure cleanup in deploy mode #4

Closed dexw25 closed 3 years ago

dexw25 commented 3 years ago

In the case of ELF to UF2 conversion failure in deploy mode, the error in conversion will be masked by an error in the cleanup processing. This adds a check and caches the path of the deployed file, and cleans up that file instead, still passing the error.