Tools: rewrite uploader script (#26310)

* Tools: rewrite uploader script

This adds a script called px4_uploader.py which is a complete rewrite
using Claude Code of px_uploader.py.

The main improvements over the previous px_uploader.py script are:
- Separate smaller classes instead of one big uploader class.
- Easier debugging with --verbose or --debug flags.
- Nicer progress animation.
- No more hard to debug Exception swallowing over multiple levels.
- Auto-detection and looping of devices, removing the functionality from
  cmake.
- Auto-detection of PX4 devices by USB VID/PID.
- Add noninteractive mode
- Add JSON output mode
This commit is contained in:
Julian Oes
2026-01-24 11:09:17 +13:00
committed by GitHub
parent 32fc5cb5b9
commit 9460625c99
3 changed files with 2125 additions and 999 deletions

2110
Tools/px4_uploader.py Executable file

File diff suppressed because it is too large Load Diff