summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-06-10 00:46:08 +1000
committerDamien George <damien@micropython.org>2024-10-09 16:35:46 +1100
commit6f8157d880d2ff2146df854eb19786afefe6dab7 (patch)
tree49b7f15b584fff44769663b05a3a4b61e51c2a1e /docs/esp32
parentdb59e55fe7a0b67d3af868990468e7b8056afe42 (diff)
tools/mpremote: Add hashing ability and use for recursive copy.
Changes in this commit: - Adds transport API `fs_hashfile` to compute the hash of a file with given algorithm. - Adds commands `mpremote <...>sum file` to compute and print hashes of various algorithms. - Adds shortcut `mpremote sha256sum file`. - Uses the hash computation to improve speed of recursive file copy to avoid copying a file where the target is identical. For recursive copy, if possible it will use the board's support (e.g. built-in hashlib or hashlib from micropython-lib), but will fall back to downloading the file and using the local implementation. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions