-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/benlye/flash-multi
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Flashing From Linux | ||
A bash script and toolchain is provided for flashing Multiprotocol modules from Linux operating systems. | ||
|
||
Like the Flash Multi Window application, the Linux script will automatically determine which upload method to use, will preserve the EEPROM data during flashes, and will write the bootloader as needed. | ||
|
||
## Installing | ||
1. Download and unzip the latest Linux release | ||
1. Configure serial device permissions by running `tools/install.sh` as root to update the udev rules and add the current user to the dialout group, e.g.: | ||
|
||
`sudo ./tools/install.sh` | ||
|
||
If you prefer you can configure the permissions manually with these commands, for example: | ||
``` | ||
sudo cp -v ./tools/45-maple.rules /etc/udev/rules.d/45-maple.rules | ||
sudo chown root:root /etc/udev/rules.d/45-maple.rules | ||
sudo chmod 644 /etc/udev/rules.d/45-maple.rules | ||
sudo udevadm control --reload-rules | ||
sudo usermod -a -G plugdev $USER | ||
sudo usermod -a -G dialout $USER | ||
``` | ||
|
||
## Use | ||
1. Download the latest pre-compiled firmware | ||
1. Plug your Multiprotocol module in | ||
1. Run the flash-multi shell script, specifiying the serial device and firmware file | ||
|
||
`flash-multi -f [firmware file] -p [serial device]` |