walnux/tools/espressif
Huang Qi 0873d88f11 tools/espressif: Improve version checking by subprocess
Summary:
- Replace version checking logic using pkg_resources and importlib with a subprocess call to `esptool.py version`
- This change enhances compatibility with esptool installed via pipx and simplifies the version retrieval process

Impact:
- No functional changes; the script continues to prompt for installation if esptool is not found
- Increases maintainability by reducing dependency on Python version checks

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-03-27 02:26:47 +08:00
..
build_mcuboot.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
build_mcuboot_esp32c3_legacy.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
check_esptool.py tools/espressif: Improve version checking by subprocess 2025-03-27 02:26:47 +08:00
chip_info.py tools/Unix.mk: Add host_info target to print nxdiag output 2025-01-07 01:03:44 +08:00
Config.mk tools/espressif: add fill-flash-size to build if MERGEBIN selected 2024-12-24 10:49:39 +08:00
mcuboot_toolchain_espressif.cmake tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00