Commit Graph

245 Commits

Author SHA1 Message Date
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
Robert Schütz
354e079535 platformio: relax uvicorn constraint 2022-12-20 14:01:53 -08:00
R. Ryantm
349d73f0cf nmrpflash: 0.9.18.2 -> 0.9.19 2022-12-08 19:17:44 +08:00
Nick Cao
1c05e6a249 jtag-remote-server: unstable-2022-06-09 -> 1.2 2022-12-07 01:24:00 +01:00
Ryan Lahfa
cba218194b
Merge pull request #203343 from tjni/spsdk
python310Packages.spsdk: fix build by relaxing versions
2022-12-04 16:44:08 +01:00
Theodore Ni
3eebbbde10
python310Packages.pyocd: move from all-packages 2022-12-03 23:58:27 -08:00
Jörg Thalheim
1d71bb2627
Merge pull request #199032 from arcnmx/platformio-6.1.5
platformio: 6.1.4 -> 6.1.5
2022-12-01 23:11:48 +01:00
prtzl
3a35ba334a stm32cubemx: add working desktop file 2022-11-28 09:45:53 +01:00
toonn
af90e66439
teensy-loader-cli: 2.1+unstable=2021-04-10 -> 2.2 (#198461)
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2022-11-21 02:55:27 +01:00
arcnmx
b5bf049ab1 platformio: 6.1.4 -> 6.1.5 2022-11-08 07:01:42 -08:00
Anderson Torres
2bfd736b5a
Merge pull request #198460 from toonn/arduino-cli-bump
arduino-cli: 0.27.1 -> 0.28.0
2022-11-08 08:20:13 -03:00
arcnmx
6a01d889b3 platformio: unmark as broken on aarch64-linux 2022-11-07 07:48:42 -08:00
arcnmx
a3b7b770ce platformio: work around fallout from #194205
fixes #198319
2022-11-01 11:52:31 -07:00
toonn
21b06b57bc
arduino-cli: 0.27.1 -> 0.28.0 2022-10-29 15:22:31 +02:00
ners
4eb9655f71 bossa-arduino: init at 1.9.1-arduino2 2022-10-20 13:22:30 +02:00
ners
cfe77e5de2 bossa: 1.8 -> 1.9.1 2022-10-20 11:01:42 +02:00
R. Ryantm
7a836fd038 arduino-language-server: 0.7.1 -> 0.7.2 2022-10-14 15:01:21 +00:00
Anderson Torres
c2dda2338b
Merge pull request #194520 from BattleCh1cken/master
arduino-language-server: init at 0.7.1
2022-10-13 00:12:36 -03:00
BattleCh1cken
85fa4ac03e arduino-language-server: init at 0.7.1 2022-10-11 15:58:15 -04:00
Jörg Thalheim
56a2ea8db4
Merge pull request #195517 from wegank/avrdude-darwin
avrdude: fix build on aarch64-darwin
2022-10-11 14:40:39 +02:00
Weijia Wang
f6dc0eefb9 avrdude: migrate to cmake 2022-10-11 14:15:55 +02:00
github-actions[bot]
1b60238acd
Merge master into staging-next 2022-10-08 12:01:37 +00:00
R. Ryantm
8d05bf52e0 tytools: 0.9.7 -> 0.9.8 2022-10-08 18:31:41 +08:00
Vladimír Čunát
6565abc264
Merge branch 'master' into staging-next 2022-10-08 10:20:07 +02:00
Alex Martens
39daaf44d5 svdtools: 0.2.6 -> 0.2.7 2022-10-06 19:54:56 -07:00
github-actions[bot]
f18d801779
Merge staging-next into staging 2022-09-28 18:05:53 +00:00
Martin Weinelt
7da8d25d87 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-28 17:15:11 +02:00
Jonas Heinrich
79cef37b6d
Merge pull request #193109 from pkharvey/pk/stm8flash
stm8flash: init at 2022-03-27
2022-09-28 10:29:40 +02:00
github-actions[bot]
d6a1c7033e
Merge staging-next into staging 2022-09-28 00:06:37 +00:00
github-actions[bot]
70776ac218
Merge master into staging-next 2022-09-28 00:06:02 +00:00
Sandro
592815804a
Merge pull request #192097 from Luflosi/update/nextpnr 2022-09-27 22:01:06 +02:00
pkharvey
643c82b014 stm8flash: init at 2022-03-27 2022-09-26 23:49:58 +01:00
Graham Christensen
1379da1098
Merge pull request #192447 from DeterminateSystems/drop-l
treewide: drop -l$NIX_BUILD_CORES
2022-09-22 19:06:21 -04:00
Graham Christensen
c2b898da76 treewide: drop -l$NIX_BUILD_CORES
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.

For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.

This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.

A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.

There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.

For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.

Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
2022-09-22 16:01:23 -04:00
Vladimír Čunát
3671ea902a
Merge branch 'master' into staging-next 2022-09-22 19:06:26 +02:00
R. Ryantm
edcea81983 openfpgaloader: 0.9.0 -> 0.9.1 2022-09-22 23:45:58 +08:00
Luflosi
b639e033e0
trellis: 2021-12-14 -> unstable-2022-09-14 2022-09-20 16:00:37 +02:00
Martin Weinelt
5d4267b0f2 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-20 12:25:19 +02:00
Martin Weinelt
09b2bf488f platformio: relax wsproto constraint 2022-09-19 10:37:50 +02:00
Stefan Frijters
079cfb093d
arduino-cli: 0.25.1 -> 0.27.1 2022-09-17 13:32:44 +02:00
Sandro
74195cb6ca
Merge pull request #186039 from newAM/orbuculum 2022-09-04 17:16:15 +02:00
Alex Martens
584a628df4 orbuculum: init at 2.0.0 2022-09-03 11:30:19 -07:00
Alex Martens
fa7eb30103 elf2uf2-rs: unstable-2021-12-12 -> 1.3.7 2022-09-03 10:23:46 -07:00
Ellie Hermaszewska
f75dd67744
Merge pull request #184563 from r-ryantm/auto-update/ecpdap 2022-09-02 11:47:52 +08:00
Evils
cae79e84e4 blackmagic: 2022-04-16 -> 1.8.2 2022-08-24 12:43:08 +02:00
Jonas Heinrich
47cd9f8c25
Merge pull request #184715 from r-ryantm/auto-update/stm32cubemx
stm32cubemx: 6.5.0 -> 6.6.1
2022-08-22 17:11:27 +02:00
Jonas Heinrich
ceb6caf257
Merge pull request #183574 from r-ryantm/auto-update/nmrpflash
nmrpflash: 0.9.16 -> 0.9.18.2
2022-08-22 14:36:04 +02:00
Alex Martens
73f0398efd svdtools: 0.2.5 -> 0.2.6 2022-08-21 08:07:33 -07:00
Jonas Heinrich
0781f10923
Merge pull request #186991 from BattleCh1cken/master
platformio: 6.0.2 -> 6.1.4
2022-08-20 16:57:44 +02:00
Simon Bruder
2e61922fc2
pyocd: init at 0.34.1 2022-08-17 13:00:54 +02:00
BattleCh1cken
2b7997e91e Update platformio 2022-08-16 11:58:12 -04:00
Stefan Frijters
ba6d6cdbfc
arduino-cli: 0.21.1 -> 0.25.1 2022-08-08 20:00:59 +02:00
R. Ryantm
7675a78e19 stm32cubemx: 6.5.0 -> 6.6.1 2022-08-02 03:56:42 +00:00
R. Ryantm
bca883c307 ecpdap: 0.1.7 -> 0.1.8 2022-08-01 13:44:45 +00:00
R. Ryantm
c650b0c63b openfpgaloader: 0.8.0 -> 0.9.0 2022-07-29 14:18:39 +00:00
R. Ryantm
efd9edd88b nmrpflash: 0.9.16 -> 0.9.18.2 2022-07-29 02:26:22 +00:00
github-actions[bot]
19fd1d7e90
Merge master into staging-next 2022-07-26 00:02:26 +00:00
Alex Martens
59ee57505a svdtools: 0.1.23 -> 0.2.5 2022-07-25 07:51:50 -07:00
Sandro Jäckel
94c1f11caa platformio: 6.0.1 -> 6.0.2 2022-07-21 22:35:25 +02:00
Sandro Jäckel
eb09880cbb platformio: relax uvicorn 2022-07-21 22:33:36 +02:00
github-actions[bot]
cfe78489c9
Merge master into staging-next 2022-07-19 12:01:43 +00:00
Enno Richter
e8f68df62a platformio: unset broken on aarch64 2022-07-19 17:40:33 +08:00
github-actions[bot]
39b1555e8e
Merge master into staging-next 2022-07-15 00:02:22 +00:00
Artturin
83b4764dc3 treewide: fix fallout from 'cmake/setup-hook.sh: Don't skip build-RPATH'
f7414e2b3a
2022-07-12 18:25:19 +03:00
Nick Cao
72259eaf9b
jtag-remote-server: init at unstable-2022-06-09 2022-07-11 09:07:46 +08:00
Benjamin Koch
388dfb39f5 openfpgaloader: 0.6.0 -> 0.8.0 2022-07-02 17:46:32 +02:00