picotool: add udev rules
This commit is contained in:
parent
231e60ee5c
commit
54ea3c518b
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
cmakeFlags = [ "-DPICO_SDK_PATH=${pico-sdk}/lib/pico-sdk" ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 ../udev/99-picotool.rules -t $out/etc/udev/rules.d
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/raspberrypi/picotool";
|
||||
description = "Tool for interacting with a RP2040 device in BOOTSEL mode, or with a RP2040 binary";
|
||||
|
Loading…
Reference in New Issue
Block a user