Skip to content

Instantly share code, notes, and snippets.

@radimklaska
Last active January 25, 2021 12:00
Show Gist options
  • Save radimklaska/c4e82c2b6c70ff5cbc6d1bfc4b95e40d to your computer and use it in GitHub Desktop.
Save radimklaska/c4e82c2b6c70ff5cbc6d1bfc4b95e40d to your computer and use it in GitHub Desktop.

Flasshing Betaflight / iNav on Ubuntu

Allow access to USB devices:

https://www.rcgroups.com/forums/showthread.php?2902832-Failed-to-open-serial-Ubuntu - post #4

sudo usermod -a -G dialout radimklaska
sudo usermod -a -G plugdev radimklaska

Create file:

sudo vim /etc/udev/rules.d/45-stdfu-permissions.rules

containing

# DFU (Internal bootloader for STM32 MCUs)
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment