Commit Graph

224 Commits

Author SHA1 Message Date
Janik
ed6afb10df
Merge pull request #203422 from prtzl/stm32cubemx 2023-07-08 17:23:42 +02:00
Atemu
67eec418ab
Merge pull request #240860 from Atemu/fhsenv-no-multiarch
buildFHSEnv: disable multiArch by default
2023-07-08 13:53:41 +02:00
Sergey Vlasov
1063bc0965 avrdude: remove avrdude.ps from docs
This PostScript file contains the full path of the dvips executable in
comments, therefore the resulting package gets a runtime dependency on
the texlive-combined-medium package, which adds almost 1GB to the
closure size.

The same documentation is still available in the PDF format, which is
probably more useful in 2023.
2023-07-05 16:45:16 +03:00
Alex Martens
1d750c3699 orbuculum: 2.0.0 -> 2.1.0 2023-07-03 21:20:19 -07:00
figsoda
c5e866c001 pkgs/development: replace "${version}" with version 2023-07-02 14:47:32 -04:00
Atemu
f0c58f6e96 tree-wide: use new multiArch buildFHSEnv argument
This is much more direct and sensible than setting a function null
2023-07-01 13:42:17 +02:00
prtzl
b8b52d7668 Use makeDesktopItems but copy it to the correct path in the buildCommand manualy. 2023-06-28 21:17:15 +02:00
Janik
765ea68e52
Merge pull request #232055 from poelzi/arduinoOTA 2023-06-26 21:12:02 +02:00
Stefan Frijters
44a7a7c5c7
arduino-cli: 0.32.2 -> 0.33.0 2023-06-13 22:17:51 +02:00
Daniel Poelzleithner
672fe6521a arduinoOTA: init at 1.4.1 2023-06-06 01:54:32 +02:00
Weijia Wang
fae6bac8f5
Merge pull request #234358 from r-ryantm/auto-update/stm32cubemx
stm32cubemx: 6.8.0 -> 6.8.1
2023-05-27 13:01:52 +03:00
R. Ryantm
769483f12a stm32cubemx: 6.8.0 -> 6.8.1 2023-05-27 04:54:49 +00:00
Daniel Nagy
9aa6989b64
avrdude: always build documentation on Linux
Make texlive a build-time dependency to always build the docs on Linux.
2023-05-26 23:45:00 +02:00
R. Ryantm
4eb5dce0d9 wch-isp: 0.2.4 -> 0.2.5 2023-05-23 07:31:56 +00:00
Thomas Gerbet
b1b7a76355
Merge pull request #226248 from LeSuisse/wch-isp-init
wch-isp: init at 0.2.4
2023-05-11 23:36:44 +02:00
Dan Callaghan
5337648a1c openocd: use packaged libjaylink and jimtcl instead of bundled copies 2023-05-09 13:48:22 +10:00
Doron Behar
68054e5c51
Merge pull request #227880 from SFrijters/arduino-cli-0.32.2
arduino-cli: 0.31.0 -> 0.32.2, enable (most) unittests
2023-05-03 06:31:14 -07:00
Stefan Frijters
51507a3f28
arduino-cli: enable (most) unittests on Linux
Ofborg fails/hangs on Darwin and I cannot easily debug this.
2023-05-02 10:46:26 +02:00
R. Ryantm
409b519ce9 nmrpflash: 0.9.19 -> 0.9.20 2023-04-29 07:08:25 +00:00
Stefan Frijters
4042fa838a
arduino-cli: 0.31.0 -> 0.32.2 2023-04-23 23:18:23 +02:00
adisbladis
f88eb92ff9 platformio: Don't link udev rules into a subdirectory
This causes collisions when NixOS is configured like
``` nix
{ pkgs, ... }:
{
  services.udev.packages = [ pkgs.platformio ];
}
```

and would also cause a regression having to add the subirectory to the udev packages path:
``` nix
{ pkgs, ... }:
{
  services.udev.packages = [ (pkgs.platformio-core.udev + "/99-platformio-udev.rules") ];
}
```
2023-04-18 15:48:49 +12:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Thomas Gerbet
c7f579c80e wch-isp: init at 0.2.4
https://github.com/jmaselbas/wch-isp

NixOS users can load the udev rule with
`services.udev.packages = [ wch-isp ];`
2023-04-15 12:05:46 +02:00
adisbladis
41c97bd32b
Merge pull request #224175 from adisbladis/platformio-udev-multi
platformio: make multi-output
2023-04-12 21:40:36 +12:00
adisbladis
a758953c19 platformio: add ncurses
Running `pio check` with clang-tidy currently fails because of lacking libtinfo.
2023-04-12 19:15:47 +12:00
Adam Joseph
63d9771dc4 openocd: enableParallelBuilding=true 2023-04-05 15:45:12 -07:00
adisbladis
bd3361bcfb platformio: ensure coherent python interpreter with platformio-core 2023-04-01 19:34:06 +13:00
adisbladis
fcbc5d74e7 platformio-core: move src & version to main expression 2023-04-01 19:34:06 +13:00
adisbladis
8d8dd6fdbf platformio: make multi-output
Currently udev rules symlinks against platformio sources, pulling in the platformio source tree into the runtime closure.
Previous to platformio-core being exposed separately from platformio this also meant that you had no ergonomic way to avoid platformio in the system closure, even though you only wanted the udev rules.

We can avoid this by making platformio-core multi output, making it trivial to depend only on the udev rules.
2023-04-01 19:34:05 +13:00
Andrew Childs
119a521977 platformio-core: expose unwrapped platformio as platformio-core
PlatformIO is a pure python package that is in turn a package
manager. In a pure NixOS environment, this means that any downloaded
binary packages will not run. To make PlatformIO usable, there's a
chrootenv wrapper. However, in a mixed environment like other linux or
darwin, the pure python version will work, and in the case of darwin
only the pure version will work, since the chrootenv wrapper is not
supported.

To handle the above use cases we have:

 * platformio -- unwrapped on darwin, wrapped on linux. Should always
                 provide a functional platformio.

 * platformio-core -- always unwrapped (like "bintools-unwrapped") for
                      when the wrapper is explicitly not required. For
                      example, on other linux where the chrootenv is
                      not supported.
2023-04-01 13:13:15 +09:00
Sandro
43aaf447d9
Merge pull request #216708 from lorenz/add-edl 2023-04-01 02:39:56 +02:00
Alex Martens
6c2c9cfb04 svdtools: 0.2.8 -> 0.3.0 2023-03-27 17:21:36 -07:00
Stefan Frijters
7d0bd09e9a
arduino-cli: 0.29.0 -> 0.31.0 2023-03-19 11:38:19 +01:00
Weijia Wang
d0781217d2
Merge pull request #221151 from wegank/bossa-wxgtk
bossa: migrate to wxGTK32
2023-03-18 17:29:50 +02:00
Lorenz Brun
76c796628d edl: init at unstable-2022-09-07
This adds edl, a tool for interfacing with the low-level flashing and
recovery interface embedded in the Boot ROM of a lot of Qualcomm SoCs.

An unreleased version is used as the last released version is very old
and does not properly install itself.
2023-03-16 00:17:20 +01:00
Weijia Wang
ed2a484778
Merge pull request #221139 from r-ryantm/auto-update/stm32cubemx
stm32cubemx: 6.6.1 -> 6.8.0
2023-03-15 22:18:20 +02:00
Weijia Wang
ca33e8f4e0 bossa: migrate to wxGTK32 2023-03-14 13:05:47 +02:00
R. Ryantm
7b0134058d stm32cubemx: 6.6.1 -> 6.8.0 2023-03-14 09:16:02 +00:00
Alyssa Ross
8c70bfb9f2
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/librsvg/default.nix
	pkgs/development/python-modules/r2pipe/default.nix
2023-03-10 18:46:21 +00: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
Martin Weinelt
b9420fd0d2
platformio: Fix version specifiers 2023-03-09 17:36:45 +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
Jonathan Neuschäfer
2fe7e66ca0 lattice-diamond: Replace direct use of /usr/bin/id with Nix-compatible path 2023-02-19 15:52:13 +01:00
Jonathan Neuschäfer
4df32ef3b7 lattice-diamond: Make ELF binaries in synpbase usable 2023-02-19 15:52:13 +01:00
Jonathan Neuschäfer
9b5469bd50 lattice-diamond: Add Diamond's library directories into RPATH
Subtools such as pnmainc rely on libraries in the diamond/bin/lin64 and
diamond/ispfpga/bin/lin64 directories, but they don't set LD_LIBRARY_PATH as
would be needed.

To make things work, simply include these two directories in the RPATH that is
patched into Diamond binaries.
2023-02-19 15:52:13 +01:00
Jonathan Neuschäfer
3cb4d0338d lattice-diamond: Expose pnmainc and ddtcmd commands
These commands are used by Amaranth.
2023-02-19 15:52:13 +01: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
Doron Behar
617158eaf6 arduino-cli: Install shell completion files
Also add the pure Go package to passthru.
2023-02-03 18:07:20 +02:00
Alex Martens
5ada4a7e90 svdtools: 0.2.7 -> 0.2.8 2023-01-28 12:26:05 -08:00