Skip to content

Commit

Permalink
Update Linux.md
Browse files Browse the repository at this point in the history
  • Loading branch information
benlye authored Aug 30, 2019
1 parent a65cb6f commit 5838614
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions doc/Linux.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# Flashing From Linux
A bash script is provided for flashing Multiprotocol modules from Linux operating systems.
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
1. Configure serial device permissions
1. Automatically, 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`

1. Manually by running these command:
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 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
```
`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
Expand Down

0 comments on commit 5838614

Please sign in to comment.