Skip to content

Commit

Permalink
iot2050-firmware-update: Refactor the firmware update tool
Browse files Browse the repository at this point in the history
At the beginning, a additional firmware was intended to be integrated
into the upgrade tarball package. And the original code was kind of
process-oriented code, many common features are not extracted, many
duplicate codes exist, and the code coupling is very high, which is very
difficult to expand and maintain. It was necessary to refactor the code for
better maintainability and extension.

Anyway, in the end the additional firmware is planed to integrated into its
associated subsystem for decoupling. Refactored code is preserved for
possible  future maintainability and extension. For example, if new firmware
needs to be added in the future, whether it is the existing firmware upgrade
method or other upgrade methods, the previous upgrade logic or upgrade
method can be more easily introduced and reused.

Signed-off-by: Li Hua Qian <[email protected]>
  • Loading branch information
huaqianli authored and BaochengSu committed Dec 14, 2023
1 parent 09906e0 commit dabdcf4
Show file tree
Hide file tree
Showing 3 changed files with 704 additions and 497 deletions.
Loading

0 comments on commit dabdcf4

Please sign in to comment.