Tom Pittenger
c60f7bff91
Tools: Enable uploader.py and waf --upload to work on WSL2
3 years ago
ES-Alexander
f6544ca25a
Tools: uploader.py: exit with error on failure
...
- Script was already exiting at this point anyway, this just sets a non-zero program return code in the case of a failure
- Means programatic callers can detect if flashing fails, without needing to monitor (and parse) stdout
3 years ago
Andrew Tridgell
b9366c50c8
Tools: treat brltty like modemmanager
...
on Ubuntu 22.04 brltty prevents use of serial radios
3 years ago
Andy Piper
960c0d0f8b
scripts: allow more time for external flash verification
...
create ssbl uploader script for SPRacingH7
3 years ago
Peter Barker
492104f9f2
Tools: uploader.py: add Swift-Flyer to usb device strings
3 years ago
Andrew Tridgell
dfd2686878
Tools: fixed uploader.py for px4 bootloader
...
by fetching ext flash info before we get IDs the bootloader is left in
a state where it accepts an erase and upload
3 years ago
Andrew Tridgell
350de066a5
Tools: recognise Auterion bootloader string
3 years ago
Andrew Tridgell
28c34bdce4
Tools: recognise more USB devices for uploader
3 years ago
Andrew Tridgell
130f26c49a
Tools: added --no-extf option to uploader.py
...
needed for PX4 bootloader
3 years ago
Andrew Tridgell
d5aa3ac27e
Tools: fixed uploader for apj files without a extf image
3 years ago
Siddharth Purohit
2dc51d9bae
Tools: handle unsupported ext flashsize
3 years ago
Siddharth Purohit
35df1b1bd3
Tools: add support for uploading firmware to boards with external flash
3 years ago
Siddharth Purohit
3317b0aff8
Tools: add support to erase external flash in bootloader
3 years ago
Peter Barker
4ea8c32c61
Tool: uploader.py: flake8-clean
4 years ago
Siddharth Purohit
a6f00e4f80
Tools: increase serial timeout to 2s from 1s in uploader script
4 years ago
Peter Barker
1b481b6e6a
Tools: uploader.py squelch warning when not able to find hwdefs
5 years ago
Mark Whitehorn
7d33017c8a
Tools: scripts: uploader.py: update --identify option
5 years ago
Peter Barker
b298477266
Tools: uploader.py: correct silently dropped exception in failure case
...
uploader.INFO_BL_REV is string, not integer
5 years ago
Peter Barker
db6fef7ebd
Tools: uploader: translate board IDs into board type in incompat output
5 years ago
Peter Barker
539e73e49c
Tools: uploader.py: print board name as well as board id
5 years ago
Andrew Tridgell
36ea023e8d
Tools: added H7 info in uploader
...
and don't mention 1M flaw unless family is vulnerable to it
5 years ago
Andrew Tridgell
c5afc3ff99
Tools: use crc_crc32() in app descriptor
5 years ago
Peter Barker
fbb26ff52d
Tools: uploader.py: py3 fix
6 years ago
Peter Barker
98f30fe099
Tools: script: uploader.py: add --identify option
...
Add option to make it absolutely clear what the MCU revision is and
whether it is flawed
6 years ago
Peter Barker
4b455afd42
scripts: uploader.py: print unplug hint when downloading firmware
6 years ago
Andrew Tridgell
372d9483aa
Tools: added --download option to uploader.py
6 years ago
Phillip Kocmoud
564a82c5da
uploader.py: Add detection for mRo USB devices
6 years ago
Siddharth Purohit
bc97ee5498
Tools: fix uploader for macos systems
6 years ago
Tom Pittenger
d47663c0ba
Tools: allow uploader.py to detect ttyS* on Ubuntu on Windows (WSL)
6 years ago
Peter Barker
e68ceda59e
Tools: scripts: uploader.py takes target-system / target component
6 years ago
Mark Whitehorn
48e4d779ac
Tools: scripts: uploader.py: add dict of compatible board IDs
6 years ago
Peter Barker
94c5a39b4f
Tools: uploader.py: factor out a find_bootloader method
...
This also changes to try to close the port if sending on it fails.
6 years ago
Peter Barker
e8b18a46a4
Tools: uploader.py: break out a modemmanager_check
6 years ago
Peter Barker
f9908efb65
Tools: uploader.py: move baud_flightstack initialisation outside loop
6 years ago
Peter Barker
36109cae65
Tools: uploader.py tidy port list code
6 years ago
Andrew Tridgell
ec2c742523
Tools: added Holybro to supported USB IDs for upload
6 years ago
Peter Barker
d0f070d05d
Tools: rename px_uploader.py into uploader.py, move into scripts
6 years ago
Andrew Tridgell
4022a17d3b
waf: fixed upload on Linux
7 years ago
Jani Hirvinen
62cf45659b
adding support for win/cygwin installations
7 years ago
Andrew Tridgell
1e2065e381
waf: recognise CubeBlack USB IDs
7 years ago
Andrew Tridgell
6771a3d65a
waf: support Hex USB IDs in px_uploader.py
7 years ago
Andrew Tridgell
cc931e9a2a
waf: allow F4Light USB ID to be recognised
7 years ago
Luis Vale Gonçalves
e88be33c9e
Updated the usbmodem line for upload
...
Added a * to enable recognition of usbmodems
7 years ago
Andrew Tridgell
320c3b53a4
waf: make it easier to list USB IDs to load fw to
7 years ago
ljwang
59ee3c8f62
AP_HAL: support mini-pix
7 years ago
Andrew Tridgell
4bc3a649cc
waf: default port list for uploader
7 years ago
Andrew Tridgell
e3f4860666
waf: cope with serial exceptions in px_uploader.py
...
this allows the loader to continue on a USB removal/reinsert
7 years ago
bugobliterator
925e3a2dcb
waf: added ChibiOS support
7 years ago