Wykres commitów

23 Commity (add-m1-vid)

Autor SHA1 Wiadomość Data
Matt Smith ff4eed08bc
Fixed --change-mode option since it was broken (#7144)
getopts can't parse double-dash options so it had to be done separately.  Also fixed where CHANGE_MODE was checked since it wasn't working either.
2025-07-03 19:41:17 -05:00
Mario Murphy e78033bb85
Clean up install & update shell scripts (#6839)
Fixed quoting of the `FILENAME` variable to work when the path of the
passed argument contains a space. Also fixed syntactical issues called
out by `shellcheck` in multi-condition `if` statements.

Also normalized indentation chars (was mix of tabs & spaces) and
trailing whitespace.

Co-authored-by: Tom Fifield <tom@tomfifield.net>
2025-06-08 14:04:31 +10:00
Kalle Lilja 4d81280ac2
Add --1200bps-reset param to device-install/update scripts (#6752)
* add change-mode support

* add change-mode support

* tab to space

* fix if check

* change param name to 1200bps-reset

* update help section

* missed one in help seciton

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-06-02 20:35:26 -05:00
Kalle Lilja 8efc9702d3
device-install/update: fix esptool --port (#6341)
* fix errorlevel check

* add esptool --port if supplied

* match device-install

* add --port if supplied

* update logmessage

* bump version

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-03-17 20:16:16 -05:00
Jeremiah K bd3755bb33
Fix device flashing scripts so they work with esptool when it's installed via pipx (#5269)
* Try esptool.py in device flashing scripts for pipx compatibility

* esptool detection fixes in device flashing .bat's
2024-11-07 09:43:34 +08:00
Thomas Göttgens ab3446faed Back out changes to non-source files 2023-01-21 21:23:24 +01:00
Thomas Göttgens 51b2c431d9 trunk roundhouse kick 2023-01-21 21:23:24 +01:00
Ben Meadors 7570cdbd22 Fix shell scripts for both linux and darwin 2022-12-03 08:24:11 -06:00
Ben Meadors f1179d31ba Fixed shell scripts 2022-11-27 07:40:40 -06:00
Ben Meadors e7dbbeb606 Fix conditional syntax 2022-11-26 14:50:07 -06:00
Thomas Göttgens 082aa07e7f update batch scripts to further check filename. 2022-11-26 17:00:33 +01:00
Thomas Göttgens 29fb283daf adaptig for #1938 2022-11-24 12:30:15 +01:00
Thomas Göttgens e98c11ff89 The new combined firmware starts flashing at offset 0, no need to flash system-info or partitions any more. 2022-10-01 09:46:56 +02:00
Ben Meadors 4cfc229e77
Update device-update.sh 2022-08-19 13:35:54 -05:00
Ben Meadors a1dc350231
Changed default baud to 115200 (#1517)
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-06-15 11:44:37 -05:00
Tim Gunter ce5d57d250 Allow device-*.sh file to flash to be specified without '-f' 2021-04-09 20:02:25 -07:00
Tim Gunter bae1d7a894 Default interpreter to "python" if "python3" doesn't exist 2021-04-09 20:01:12 -07:00
IZ1IVA 29eb5e8327
Update device-update.sh
Please have a look at https://github.com/meshtastic/Meshtastic-device/issues/760
2021-03-26 14:49:27 +01:00
Tim Gunter 13889124c1 Add option to set python interpreter used for device-install.sh and device-update.sh 2021-03-21 18:29:20 -07:00
Kevin Hester 27c35f69aa Fix flash flippy-flop error after commandline update (thanks @Stephen304) 2021-03-14 12:41:31 +08:00
Todd Allen d191b12801 Adding port/help flags and error checking 2020-07-27 09:14:04 -04:00
Nicolas Derive 9f2646ba03 writeflash is actually write_flash in esptool.py 2020-05-22 12:53:54 +02:00
Mark Huson fc0c9bcfe3 add update script and README changes 2020-05-06 19:43:17 -07:00