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

6046 commits

Author SHA1 Message Date
b2955e3e3c remove Golang node-types
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
472048a0d0 do not build Doxygen docs by default anymore
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
1e46b4e1e9 webrtc: add missing libnice dependency and bump libdatachannel version
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
2d4783599f webrtc: signaling almost working
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
40f01e904e webrtc: add new node and libdatachannel to build system
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
Philipp Jungkamp
37b5b3c4fa update docker container images
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-16 16:26:40 +02:00
Philipp Jungkamp
6de8ea1147 fix villas tools installation
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-16 16:26:32 +02:00
Philipp Jungkamp
0844a9f509 fix villas tools installation
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-16 16:18:36 +02:00
Philipp Jungkamp
1baeb2738a update docker container images
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-16 15:41:47 +02:00
Steffen Vogel
9916a6b3d2
Merge pull request #656 from VILLASframework/fix-release
fix warnings in release builds
2023-06-15 11:42:04 +02:00
Philipp Jungkamp
79f39ff0e8 fix warnings in release builds
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-15 09:49:59 +02:00
Steffen Vogel
4d83b63fa2
Merge pull request #654 from VILLASframework/fix-villas-graph
fix broken reference to `boolean` in villas-graph
2023-06-14 18:14:58 +02:00
Steffen Vogel
2397c88f79
Merge pull request #657 from VILLASframework/packaging-nix
packaging-nix: use the 22.11 release of nixpkgs
2023-06-14 18:13:27 +02:00
Philipp Jungkamp
45928b02b3 packaging-nix: use the 22.11 release of nixpkgs
We don't wan't to use unstable or 23.05 to circumvent deprecation
warnings and spdlog/fmt related regressions.
More node types can now be compiled into villas-full.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-14 17:59:08 +02:00
Philipp Jungkamp
1f96602076 fix broken reference to boolean in villas-graph
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-14 15:34:42 +02:00
Steffen Vogel
4fa688b9ce
Merge pull request #651 from VILLASframework/packaging-nix
packaging-nix: fix registry command in README
2023-06-14 10:14:47 +02:00
Philipp Jungkamp
339205f221 packaging-nix: fix registry command in README
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-14 09:26:55 +02:00
Steffen Vogel
530e189d1b
Merge pull request #646 from VILLASframework/packaging-nix
Packaging nix
2023-06-13 18:24:17 +02:00
Philipp Jungkamp
a306335079 editorconfig: add Nix formatting
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
5fce6b901c packaging-nix: update lockfile
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
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
Niklas Eiling
83c0e2b185 Merge pull request #81 from VILLASframework/dma-ingress
adds C bindings and other smaller changes
2023-03-21 17:57:47 +01:00
Niklas Eiling
d9993409e0 fix possible NULL dereferencing in villasfpga_dma.c
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 14:56:54 +01:00
Niklas Eiling
1d9ccd6c05 add license note to villasfpga_dma.c
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:59:22 +01:00
Niklas Eiling
9d4cd5384d clean up debuggin output and fix scanf usage in villasfpga_dma.c
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:52:36 +01:00
Niklas Eiling
d273162f71 fix PCIeCardFactory looking for IP config file at the wrong location
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:29:32 +01:00
Niklas Eiling
d9e60e22b1 make it possible to specify a search path in PcieCard::make so we can use relative paths in config files
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:15:25 +01:00
Niklas Eiling
c05ae4d282 add C bindings for DMA interactions and add a test/example
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 10:47:45 +01:00