mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
openocd: enable support for CMSIS-DAP debuggers
I.e., add 'hidapi' to buildInputs. Build tested.
This commit is contained in:
parent
1a13d28151
commit
3c67f86211
1 changed files with 2 additions and 6 deletions
|
@ -1,8 +1,4 @@
|
|||
{ stdenv, fetchurl, libftdi, libusb1, pkgconfig }:
|
||||
|
||||
# TODO: Add "hidapi" as dependency to gain access to CMSIS-DAP debuggers.
|
||||
# Support should be auto-detected, but if not, pass "--enable-cmsis-dap" to
|
||||
# configure.
|
||||
{ stdenv, fetchurl, libftdi, libusb1, pkgconfig, hidapi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openocd-${version}";
|
||||
|
@ -13,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0hzlnm19c4b35vsxs6ik94xbigv3ykdgr8gzrdir6sqmkan44w43";
|
||||
};
|
||||
|
||||
buildInputs = [ libftdi libusb1 pkgconfig ];
|
||||
buildInputs = [ libftdi libusb1 pkgconfig hidapi ];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-jtag_vpi"
|
||||
|
|
Loading…
Reference in a new issue