Commit Graph

209 Commits

Author SHA1 Message Date
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
Jos van Bakel
4271c9ca59
platformio: fix udev path 2023-01-27 11:57:45 +01:00
Alvar Penning
9f0ca1220a platformio: 6.1.5 -> 6.1.6
https://github.com/platformio/platformio-core/releases/tag/v6.1.6
2023-01-23 15:47:42 +01:00
Martin Weinelt
eb88ec0409
Merge pull request #211997 from mweinelt/esphome
esphome: 2022.12.3 -> 2022.12.4
2023-01-22 23:52:01 +00:00
Weijia Wang
218c4c526e
Merge pull request #212002 from mothsART/feature/replace_http_by_https
treewide: replace http by https when https is a permanent redirection
2023-01-22 03:26:02 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Martin Weinelt
62b9dc3abb
platformio: Relax starlette constraint 2023-01-21 21:22:59 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Stefan Frijters
20cd94c6aa
arduino-cli: Add meta.changelog 2023-01-17 14:54:06 +01:00
Stefan Frijters
40b624cc51
arduino-cli: 0.28.0 -> 0.29.0 2023-01-17 14:52:31 +01:00
Fabian Affolter
391d0cfb96
arduino-language-server: fix typo 2023-01-14 11:27:37 +01:00
Fabian Affolter
e38b57f07f
arduino-language-server: add changelog to meta 2023-01-14 10:14:38 +01:00
R. Ryantm
7de34eb220 arduino-language-server: 0.7.2 -> 0.7.4 2023-01-13 20:19:33 +00:00
R. Ryantm
0e09335dce avrdude: 7.0 -> 7.1 2023-01-10 09:10:22 +01:00
R. Ryantm
8259b08d9c openfpgaloader: 0.9.1 -> 0.10.0 2023-01-02 21:49:47 +08:00