Commit Graph
3 Commits
Author SHA1 Message Date
Vojtech Piroch 19676ffa46 fix(tools): Detect serial port matching the project target
Auto-detect used to pick the first Espressif device, even when it did
not match IDF_TARGET. With several boards attached, flash/monitor could
talk to the wrong chip.

Pass the project target into esptool so unmatched ports are skipped.
Resolve the port after ensure_build_directory() so the target is known.
For monitor on an unconfigured project, probe the connected chip and
pass it directly to idf_monitor without configuring the project.
2026-09-02 17:18:57 +08:00
Vojtech Piroch 9b343dc749 Merge branch 'feat/migrate_ldgen_to_esp_pylib' into 'master'
feat(ldgen): migrate to esp-pylib

Closes IDF-15325

See merge request espressif/esp-idf!49189
2026-06-08 16:36:22 +08:00
Vojtech Piroch 0c4e73f590 feat(ldgen): migrate to esp-pylib 2026-06-08 10:18:00 +02:00