Skip to content

Commit

Permalink
dpsim-villas: fix hardcoded paths (#327)
Browse files Browse the repository at this point in the history
sorry, i somehow a few hardcoded paths made it into master.
  • Loading branch information
m-mirz authored Nov 16, 2024
2 parents ad81d7e + aaa9678 commit 6009f14
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 6009f14

Please sign in to comment.