CI: esptool warns about deprecating esptool.py

This commit is contained in:
Henrik Tjäder 2025-09-17 19:35:39 +02:00
parent 24d6d88551
commit a23530bf86
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ jobs:
with:
tool: espflash
- name: Install esptool.py
- name: Install esptool
if: contains(matrix.input.platform, 'esp32')
run: pip install esptool

View file

@ -19,7 +19,7 @@ tempdir=$(mktemp -d) || exit 1
espflash save-image --chip esp32c3 --merge "$outputfilenamecargo" "$outputfilename" 1>&2
# Get stats
esptool.py image_info --version 2 "$outputfilename" 1>&2
esptool image_info --version 2 "$outputfilename" 1>&2
# Run in QEMU
$qemuexec -nographic -monitor tcp:127.0.0.1:55555,server,nowait -icount 3 -machine esp32c3 -drive file="$outputfilename",if=mtd,format=raw -serial file:"$tempdir/$logfile" >"$tempdir"/$qemuoutputfile 2>&1 &