1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +02:00

Explain what the udev rule does.

This commit is contained in:
Andrew Walbran 2023-03-20 14:09:00 +00:00
parent 3afc10fbfd
commit e31df488f3

View File

@ -24,7 +24,13 @@ sudo apt install gdb-multiarch picocom libudev-dev
rustup update
rustup target add thumbv7em-none-eabihf
cargo install cargo-binutils cargo-embed
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", MODE="0664", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/50-microbit.rules
```
And give users in the `plugdev` group access to the micro:bit programmer:
```bash
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", MODE="0664", GROUP="plugdev"' |\
sudo tee /etc/udev/rules.d/50-microbit.rules
sudo udevadm control --reload-rules
```