london: add stlink rules

This commit is contained in:
Victor Mignot 2024-02-18 10:08:50 +01:00
parent c4b952d28e
commit 02d9e6cc50
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -50,7 +50,12 @@
/* Linux kernel */
useLatestKernel = true;
/* Custom udev rules for Nucleo's stlink interface */
services.udev.extraRules = ''
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b",MODE="660",GROUP="dialout",TAG+="uaccess"
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748",MODE="660",GROUP="dialout",TAG+="uaccess"
'';
/* Nix */
allowUnfreePackages = true;