Skip to content

Commit

Permalink
dpsim-villas: fix hardcoded paths
Browse files Browse the repository at this point in the history
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
  • Loading branch information
n-eiling committed Nov 14, 2024
1 parent ad81d7e commit aaa9678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion dpsim-models/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ list(APPEND MODELS_SOURCES
Signal/CosineFMGenerator.cpp
Signal/DCGenerator.cpp
)
list(APPEND MODELS_INCLUDE_DIRS "/home/eiling/projects/villas-node/build/lib/formats")

if(WITH_CIM)
list(APPEND MODELS_SOURCES CIM/Reader.cpp)
Expand Down
7 changes: 2 additions & 5 deletions dpsim-villas/examples/cxx/FpgaExample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ using namespace CPS::DP;
using namespace CPS::DP::Ph1;

const std::string buildFpgaConfig(CommandLineArgs &args) {
// std::filesystem::path fpgaIpPath =
// "/usr/local/etc/villas/node/etc/fpga/vc707-xbar-pcie-dino/"
// "vc707-xbar-pcie-dino-v2.json";
std::filesystem::path fpgaIpPath = "/home/eiling/projects/villas-node/etc/fpga/vc707-xbar-pcie-dino/"
"vc707-xbar-pcie.json";
std::filesystem::path fpgaIpPath = "/usr/local/etc/villas/node/etc/fpga/vc707-xbar-pcie-dino/"
"vc707-xbar-pcie-dino.json";

if (args.options.find("ips") != args.options.end()) {
fpgaIpPath = std::filesystem::path(args.getOptionString("ips"));
Expand Down

0 comments on commit aaa9678

Please sign in to comment.