Andrew Tridgell
cde3674559
Tools: added CubePilot to board recognition for uploader.py
...
for CubeOrangePlus
2022-10-19 10:22:11 +11:00
Tom Pittenger
c60f7bff91
Tools: Enable uploader.py and waf --upload to work on WSL2
2022-07-22 09:12:01 +10:00
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
2022-05-26 09:30:27 +10:00
Andrew Tridgell
b9366c50c8
Tools: treat brltty like modemmanager
...
on Ubuntu 22.04 brltty prevents use of serial radios
2022-05-03 10:09:12 +10:00
Andy Piper
960c0d0f8b
scripts: allow more time for external flash verification
...
create ssbl uploader script for SPRacingH7
2022-02-09 12:47:55 +00:00
Peter Barker
492104f9f2
Tools: uploader.py: add Swift-Flyer to usb device strings
2021-11-18 15:22:42 +11:00
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
2021-11-05 14:30:43 +11:00
Andrew Tridgell
350de066a5
Tools: recognise Auterion bootloader string
2021-11-05 14:30:43 +11:00
Andrew Tridgell
28c34bdce4
Tools: recognise more USB devices for uploader
2021-10-12 15:47:51 +11:00
Andrew Tridgell
130f26c49a
Tools: added --no-extf option to uploader.py
...
needed for PX4 bootloader
2021-10-12 15:47:51 +11:00
Andrew Tridgell
d5aa3ac27e
Tools: fixed uploader for apj files without a extf image
2021-09-21 08:01:50 +10:00
Siddharth Purohit
2dc51d9bae
Tools: handle unsupported ext flashsize
2021-09-01 17:10:53 +10:00
Siddharth Purohit
35df1b1bd3
Tools: add support for uploading firmware to boards with external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
3317b0aff8
Tools: add support to erase external flash in bootloader
2021-09-01 17:10:53 +10:00
Peter Barker
4ea8c32c61
Tool: uploader.py: flake8-clean
2021-06-24 08:59:41 +10:00
Siddharth Purohit
a6f00e4f80
Tools: increase serial timeout to 2s from 1s in uploader script
2021-05-26 18:25:01 +10:00
Peter Barker
1b481b6e6a
Tools: uploader.py squelch warning when not able to find hwdefs
2020-08-15 11:59:40 +10:00
Mark Whitehorn
7d33017c8a
Tools: scripts: uploader.py: update --identify option
2020-08-14 11:53:58 +10:00
Peter Barker
b298477266
Tools: uploader.py: correct silently dropped exception in failure case
...
uploader.INFO_BL_REV is string, not integer
2020-07-21 22:43:11 +10:00
Peter Barker
db6fef7ebd
Tools: uploader: translate board IDs into board type in incompat output
2020-06-09 10:30:50 +10:00
Peter Barker
539e73e49c
Tools: uploader.py: print board name as well as board id
2020-05-26 14:13:39 +10:00
Andrew Tridgell
36ea023e8d
Tools: added H7 info in uploader
...
and don't mention 1M flaw unless family is vulnerable to it
2019-11-25 21:52:45 +11:00
Andrew Tridgell
c5afc3ff99
Tools: use crc_crc32() in app descriptor
2019-10-21 19:12:01 +11:00
Peter Barker
fbb26ff52d
Tools: uploader.py: py3 fix
2019-07-03 15:42:28 +10:00
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
2019-06-25 13:40:27 +10:00
Peter Barker
4b455afd42
scripts: uploader.py: print unplug hint when downloading firmware
2019-06-25 13:40:27 +10:00
Andrew Tridgell
372d9483aa
Tools: added --download option to uploader.py
2019-05-06 08:08:05 +10:00
Phillip Kocmoud
564a82c5da
uploader.py: Add detection for mRo USB devices
2019-04-11 11:16:48 +10:00
Siddharth Purohit
bc97ee5498
Tools: fix uploader for macos systems
2019-03-21 18:54:32 +11:00
Tom Pittenger
d47663c0ba
Tools: allow uploader.py to detect ttyS* on Ubuntu on Windows (WSL)
2019-03-10 21:31:22 +11:00
Peter Barker
e68ceda59e
Tools: scripts: uploader.py takes target-system / target component
2019-03-05 09:52:03 +11:00
Mark Whitehorn
48e4d779ac
Tools: scripts: uploader.py: add dict of compatible board IDs
2019-03-03 14:27:38 +11:00
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.
2019-02-28 09:51:16 +11:00
Peter Barker
e8b18a46a4
Tools: uploader.py: break out a modemmanager_check
2019-02-28 09:51:16 +11:00
Peter Barker
f9908efb65
Tools: uploader.py: move baud_flightstack initialisation outside loop
2019-02-28 09:51:16 +11:00
Peter Barker
36109cae65
Tools: uploader.py tidy port list code
2019-02-28 09:51:16 +11:00
Andrew Tridgell
ec2c742523
Tools: added Holybro to supported USB IDs for upload
2019-02-26 16:18:26 +11:00
Peter Barker
d0f070d05d
Tools: rename px_uploader.py into uploader.py, move into scripts
2018-11-15 09:55:14 +11:00