Merge pull request #265576 from mingmingrr/master

picotool: add udev rules
This commit is contained in:
Pierre Bourdon
2023-11-12 21:12:57 +01:00
committed by GitHub
@@ -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";