Skip to content

Commit

Permalink
Merge pull request #156 from sifive/makeattributes-qemu
Browse files Browse the repository at this point in the history
Add support for QEMU to settings.mk generator
  • Loading branch information
nategraff-sifive committed Aug 29, 2019
2 parents d89f470 + 13ff66b commit 9134732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions freedom-makeattributes-generator.c++
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,10 @@ static void write_config_file(fstream &os, std::string board,
os << "TARGET_TAGS=rtl" << std::endl;
os << "TARGET_DHRY_ITERS=2000" << std::endl;
os << "TARGET_CORE_ITERS=5" << std::endl;
} else if (board.find("qemu") != std::string::npos) {
os << "TARGET_TAGS=qemu" << std::endl;
os << "TARGET_DHRY_ITERS=20000000" << std::endl;
os << "TARGET_CORE_ITERS=5000" << std::endl;
} else if (board.find("arty") != std::string::npos) {
os << "TARGET_TAGS=fpga openocd" << std::endl;
os << "TARGET_DHRY_ITERS=20000000" << std::endl;
Expand Down

0 comments on commit 9134732

Please sign in to comment.