openocd: enable libgpiod bit-banging driver
This commit is contained in:
parent
31ffc50c57
commit
b1cf40d228
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
, hidapi
|
||||
, libftdi1
|
||||
, libusb1
|
||||
, libgpiod
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -17,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ hidapi libftdi1 libusb1 ];
|
||||
buildInputs = [ hidapi libftdi1 libusb1 libgpiod ];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-jtag_vpi"
|
||||
|
@ -29,6 +30,7 @@ stdenv.mkDerivation rec {
|
|||
(lib.enableFeature (! stdenv.isDarwin) "oocd_trace")
|
||||
"--enable-buspirate"
|
||||
(lib.enableFeature stdenv.isLinux "sysfsgpio")
|
||||
(lib.enableFeature stdenv.isLinux "linuxgpiod")
|
||||
"--enable-remote-bitbang"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue