1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

5046 commits

Author SHA1 Message Date
Philipp Jungkamp
08b5620188 packaging-nix: work around direnv bug
Restore the TMP, TEMP, TMPDIR, TEMPDIR variables to their previous
values if `use flake` modified them in `.envrc`.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
7742a5f5b8 packaging-nix: disable hardening cxx flags in devShells
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
bca7f70cc2 packaging-nix: tailor libdatachannel compilation to our needs
- Use libnice for better ICE protocol support.
- Disable websockets support since we are already using libwebsockets.
- Disable media transport facilities.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
0d69a0eefb packaging-nix: add libdatachannel for webrtc node
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
03ad3a77aa packaging-nix: improve packaging + cross-compilation
- Adds and documents some simple cross-compiling support.
- More documentation in the `flake.nix`.
- Add nixpkgs overlay (though undocumented).

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Steffen Vogel
c5606d7ac9
Merge pull request #645 from PJungkamp/packaging-nix
packaging-nix: Add `direnv` support and improve packaging
2023-06-01 20:00:53 +02:00
Philipp Jungkamp
0c9f513e8b packaging-nix: add direnv support using the nix flake
Add an `.envrc` file and add the `.direnv` directory to `.gitignore`.
`direnv` will check whether `nix` is available and `flakes` are enabled
before trying to load the environment from `packaging/nix`.

Using flakes from the `direnv` stdlib requires `direnv 2.30.0` or later.

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-06-01 13:36:11 +02:00
Philipp Jungkamp
6a07f6f2da packaging-nix: fixes + format + format check
- format all `.nix` files using `alejandra`
- check format on `nix flake check`
- only `exec $SHELL` when bash is interactive

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-06-01 13:34:12 +02:00
Steffen Vogel
ff863007d7
Merge pull request #644 from PJungkamp/villas-shell-quoting
tools/villas: improve script behaviour for `-h` or `--help`
2023-05-26 03:01:46 +02:00
Philipp Jungkamp
c194b621cb tools/villas: improve script behaviour for -h or --help
- Quote `${SUBTOOL}` in case it is set but empty
- Add `-e` flag to `grep` so `villas --help` does not show `grep --help`
- Add `-F` flag to `grep` so `villas "[ "` does not show a regexp error
- Don't exit with error when `-h` or `--help` was specified
- Add `-h` and `--help` to `Usage` in the help message.

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-26 01:33:45 +02:00
Steffen Vogel
7506e2c289
Merge pull request #643 from PJungkamp/packaging-nix
packaging-nix: fix broken `git+file:.` input
2023-05-25 19:58:52 +02:00
Philipp Jungkamp
58dbd91616 packaging-nix: fix broken git+file:. input
The `src` input was working locally due to a bug in the `nix` flake
evaluation. The input itself was malformed and not reproducable.

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-25 19:00:49 +02:00
Steffen Vogel
e47775ea29
Merge pull request #642 from PJungkamp/packaging-nix
packaging-nix: initial structure
2023-05-25 16:40:40 +02:00
Philipp Jungkamp
1fb9a89bae packaging-nix: initial structure
- add basic flake structure
- add configurable package for `villas`
- add `README` tutorial as motivation
- add package for `lib60870` and `libiec61850` not provided by `nixpkgs`

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-25 16:29:13 +02:00
Steffen Vogel
14c450d501
Merge pull request #641 from VILLASframework/goose-fixes
Goose: small formatting fixes
2023-05-02 18:03:20 +02:00
Steffen Vogel
571a436c2e goose: small formatting fixes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-05-02 16:11:41 +02:00
Steffen Vogel
302aa46d58
Merge pull request #640 from VILLASframework/node-iec61850-goose
IEC61850 Goose
2023-05-02 12:31:12 +02:00
Philipp Jungkamp
0ee9ab6be0 node-iec61850: fix undefined behaviour
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:52:24 +00:00
Philipp Jungkamp
fff889d779 node-iec61850-8-1: add OpenAPI schemas
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 14:06:34 +02:00
Philipp Jungkamp
9f58ec484f node-iec61850-8-1: fix ConfigError reporting
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:18:14 +02:00
Philipp Jungkamp
e619cb8bf1 rename node to iec61850-8-1
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:16:15 +02:00
Philipp Jungkamp
e612e7cebc node-iec61850-goose: change resend_interval to double seconds
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-11 15:04:41 +02:00
Philipp Jungkamp
5a1995d901 node-iec61850-goose: Periodic resend and cleanup
- introduce resend_thread for periodic resend
- change mms_type to reflect the table in iec61850.hpp to be able to
  merge these tables in the future without breaking configs

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-28 13:22:16 +00:00
Philipp Jungkamp
98ac02a85b node-iec61850-goose: log error instead of crashing on unsupported mms value
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-14 16:46:35 +01:00
Philipp Jungkamp
9dcef61c99 node-iec61850-goose: GooseSignal refactor + fixes
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-14 15:34:30 +00:00
Philipp Jungkamp
89813a8cc7 iec61850-goose: multiple producers
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-07 12:56:03 +00:00
Philipp Jungkamp
2d643b8f47 initial example for iec61850-goose node
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-01-31 11:27:48 +00:00
Philipp Jungkamp
75ebfbc623 initial iec61850-goose node
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-01-31 11:12:51 +00:00
Philipp Jungkamp
cba7894da0 Update libiec61850 from 1.4 to 1.5
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-01-31 11:12:49 +00:00
Steffen Vogel
37c9efad92
Merge pull request #638 from VILLASframework/ci-reenable-fpga
Re-enable VILLASfpga node-type in CI
2023-01-17 13:45:40 +01:00
Steffen Vogel
6eb20df258 re-enable VILLASfpga node-type in CI
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-17 13:34:47 +01:00
Steffen Vogel
c976cd62d8
Merge pull request #637 from VILLASframework/fix-node-fpga
fix broken VILLASfpga node-type
2023-01-13 11:37:54 +01:00
Steffen Vogel
f6789e4739 fix broken VILLASfpga node-type
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-13 11:28:53 +01:00
Steffen Vogel
0a8eebe41f
Merge pull request #635 from VILLASframework/update-fedora
Update Fedora version 36
2023-01-11 17:00:58 +01:00
Steffen Vogel
308fa431fd add missing package for iproute2 TC
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 12:58:53 +01:00
Steffen Vogel
8464975447 ci: remove libsegfault usage as its gone in newer glibc versions
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 12:58:53 +01:00
Steffen Vogel
59bd1dea56 update Fedora version 36
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 12:58:53 +01:00
Steffen Vogel
3d052cdf6f
Merge pull request #633 from VILLASframework/libfmt9
Make compatible to fmt version 9.0.3
2023-01-11 12:54:45 +01:00
Steffen Vogel
be1c68efc5 remove superfluous parantheses
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 12:40:47 +01:00
Steffen Vogel
cdd8ad93e5 remove obsolete forward declaration
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 12:39:49 +01:00
Steffen Vogel
e19d190b5a
Merge pull request #636 from VILLASframework/update-fpga-submodule
Update VILLASfpga submodule
2023-01-11 12:37:08 +01:00
Manuel Pitz
48b98c195c make compatible to fmt version 9.0.3 review fixes
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
Manuel Pitz
cf04f6b569 make compatible to fmt version 9.0.3 review fixes
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
Manuel Pitz
c4bce72c04 make compatible to fmt version 9.0.3
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
Manuel Pitz
1a01012e7c make compatible to fmt version 9.0.3
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
Steffen Vogel
221cac131a update VILLASfpga submodule
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 10:02:54 +01:00
Steffen Vogel
e37a3d30ad
Merge pull request #634 from VILLASframework/fix-ci
CMake: fix CI if not run in a Git repo
2023-01-10 17:39:55 +01:00
Steffen Vogel
7d982e12b3 fpga: fix cppcheck warnings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-10 16:31:01 +00:00
Steffen Vogel
28fa9f6045 cmake: add missing version number
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-10 16:30:30 +00:00
Steffen Vogel
f5c25c4592 cmake: fix CI if not run in a Git repo
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-10 15:28:58 +00:00