Commit Graph

8 Commits

Author SHA1 Message Date
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