Commit Graph

13 Commits

Author SHA1 Message Date
Otavio Salvador
20414d1a40 openocd: use libgpiod_1 instead of duplicated expressions
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-11-19 23:34:04 -03:00
Kirill Radzikhovskyy
4dabf26caf openocd: fixup pin libgpiod 2023-08-09 20:10:19 +10:00
Dan Callaghan
5337648a1c openocd: use packaged libjaylink and jimtcl instead of bundled copies 2023-05-09 13:48:22 +10:00
Adam Joseph
63d9771dc4 openocd: enableParallelBuilding=true 2023-04-05 15:45:12 -07:00
Erin van der Veen
7c98145f36 openocd: rework configuration flags
Removed configure flags no longer present in openocd 0.12, and allows
easy configuration of boards. Also removes the two boards that were
enabled before.
2023-03-10 14:03:30 +01:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Bjørn Forsman
815a21e9f1 openocd: 0.11.0 -> 0.12.0
Remove upstreamed patch which now fails to apply.

Fixes https://github.com/NixOS/nixpkgs/issues/190866
2023-02-17 06:40:53 +01:00
Ryan Burns
fc2b144cf3 openocd: fix build with gcc 11
Werror should not be used when packaging
2022-04-30 10:06:39 +02:00
Elias Naur
aa3fd4aed5 openocd: fix segfault caused by libusb incompatibility
This issue is fixed in upstream OpenOCD, but there hasn't been a
new release since the fix.

See https://github.com/libusb/libusb/issues/928 for context.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2022-04-08 12:50:55 +02:00
Ilya Kharin
c8f8adc5ec
openocd: libgpiod is supported only on linux (#143652)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-29 16:12:53 +02:00
Linus Heckemann
b1cf40d228 openocd: enable libgpiod bit-banging driver 2021-09-28 13:30:54 +02:00
Pooya Moradi
ff1c9635cb openocd: move the directory to pkgs/development/embedded/ 2021-08-16 15:29:56 +04:30