Commit graph

200 commits

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