mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-03 09:49:11 +00:00
bc309cebe6
toolchain: updated to v33 with debugging & other fixes toolchain: better error handling during update/env configuration process debugging: improved udev rules file, added readme on installation firmware: bumped compiler C/C++ standards (stricter code checks) firmware: fixed warnings emerging from newer standards ufbt: FBT_NOENV is now also supported by ufbt fbt: added ccache-related variables to env forward list on Windows
19 lines
No EOL
782 B
Markdown
19 lines
No EOL
782 B
Markdown
## Installing udev rules
|
|
|
|
On Linux, unprivileged users need to be in the `dialout` group to access serial ports and other USB devices.
|
|
|
|
To add your user to the `dialout` group, run the following command:
|
|
|
|
```bash
|
|
sudo usermod -a -G dialout $USER
|
|
```
|
|
|
|
To install the udev rules needed for debugging & CLI access to Flipper, run the following command:
|
|
|
|
```bash
|
|
sudo cp 41-flipper.rules /etc/udev/rules.d/
|
|
sudo udevadm control --reload-rules
|
|
sudo udevadm trigger
|
|
```
|
|
|
|
Note that not all possible debug interfaces are listed the `41-flipper.rules` file. If your interface is not supported out of the box, you may need to add a a rule for it. You can do so by adding a new line to the file according to udev rules syntax. Use `lsusb -v` to find the vendor and product IDs of your device. |