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

6320 commits

Author SHA1 Message Date
79a2d125d8 cmake: improve version detection and generation of config.h 2024-02-29 18:58:07 +01:00
f6b6714aa1 remove criterion submodule 2024-02-29 18:58:07 +01:00
c4c20fde5a ci: add missing dependencies 2024-02-29 18:58:07 +01:00
c795b56e67 plugin: rewrite 2024-02-29 18:58:07 +01:00
d0e507c3ac cmake: fix invalid paths 2024-02-29 18:58:07 +01:00
700b12bcdf update spdlog submodule 2024-02-29 18:58:07 +01:00
9b8b1a7936 tests: port unit tests to C++ 2024-02-29 18:58:07 +01:00
0c7d7e1003 log: add option to add a callback to C logging subsystem 2024-02-29 18:58:07 +01:00
f4d28262af tsc: add missing extern "C" declaration 2024-02-29 18:58:07 +01:00
701c4889b5 hash_table: allow constant key 2024-02-29 18:58:07 +01:00
1a80b87409 fix compilation on linux 2024-02-29 18:58:07 +01:00
789bcea6c1 introduce new PORJECT_* macros 2024-02-29 18:58:07 +01:00
2dd2a530a1 moved more code from VILLASnode to VILLAScommon 2024-02-29 18:58:07 +01:00
83dfaa00d8 refactor: change project name from VILLAS{fpga,node} to VILLAScommon 2024-02-29 18:58:07 +01:00
6780cc1077 fix Criterion dependency 2024-02-29 18:58:07 +01:00
afd15cf17e fix Jansson dependency 2024-02-29 18:58:07 +01:00
8ea4016803 fix compilation on non Linux targets 2024-02-29 18:58:07 +01:00
1ca73d018c merge changes from VILLASfpga/feature/hls-rtds2gpu 2024-02-29 18:58:07 +01:00
5b906aa3ea move more common code from VILLASfpga repo 2024-02-29 18:58:07 +01:00
652f9cf2a5 cmake: link against DL 2024-02-29 18:58:07 +01:00
a8bdf9292b cmake: use proper include dirs 2024-02-29 18:58:07 +01:00
c1ed2a9a55 cmake: rename unit-test target to avoid name collision with parent projects 2024-02-29 18:58:07 +01:00
3b5ee46258 enable unit-tests in CI 2024-02-29 18:58:07 +01:00
50ede4fe19 add COPYING.md 2024-02-29 18:58:07 +01:00
830f73e4fb initial commit 2024-02-29 18:58:07 +01:00
5c90529f90 Remove VILLAScommon submodule
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
d455faf000 Fix REUSE compliance
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
0e0b877335 nix: Fix REUSE dep5 file with new flake.lock location
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
92243036f1 nix: Add NixOS module for villas-node
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
24e8fe62b9 openapi: Remove trailing whitespaces
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
4668d06d81 openapi: Fix default value of idle_stop setting
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
5ae4bc772f nix: Update flake inputs
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
eb15e83a31 nix: Fix comment capitalization in .nix files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
1f756ac49e nix: Move flake to top-level path
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00
b573644133 Remove obsolete SuperNode::getConfigUri()
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-27 19:19:27 +01:00
9247846805 exec: Pass name of node and config path via environment variable to sub-process
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-27 19:19:27 +01:00
Niklas Eiling
49523a5076 fpga: remove std::filesystem and properly retrieve searchPath from
configPath

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
ea0bfcf7f4 fpga: clean up debug outputs
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
26e22ca6f4 fpga: make implementation compatible with new createCard interface
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
7ced0c5f0a update common subrepo
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
47362ccede fpga: enable inline config of card
additionally to configuring the card in a separate block, we need to be
able to configure the card from the node config to enable libvillas
users to use the fpga node-type.

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
81ff679b41 node: add configPath member
we need the path of the config file in the nodes in case we want to
parse a separate sub-config with relative path names. This is required
for the fpga node type to parse the ips config file from Fpga::parse.

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
08f109b924 update fpga subrepo so we can use the new std::filesystem free API
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 17:10:57 +01:00
Steffen Vogel
226ccecd19 Remove usage of std::filesystem
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-26 17:10:57 +01:00
Niklas Eiling
542132de92 add API for createCards without std::filesystem
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 16:53:38 +01:00
Niklas Eiling
033634ac47 register: ignore strict aliasing for setting register as float
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 15:39:27 +01:00
Niklas Eiling
8a40b873be register: fix wrong fomatter declaration
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 15:11:58 +01:00
Niklas Eiling
d24a323e5c utils: remove cards from createCard
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 11:50:44 +01:00
Niklas Eiling
a3209aa344 use polling instead of interrupt
but keep interrupts for i2c

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 11:50:44 +01:00
Niklas Eiling
d588f5f2a2 dino: use enum instead of literal for GAIN
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-26 11:50:44 +01:00