From 0e7c61ec6818232ffcb68b79e54d8ffbe7431d75 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 10 Feb 2017 13:55:26 -0800 Subject: utils: Enable printing of FPGA hash in uhd_usrp_probe --- host/utils/uhd_usrp_probe.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp index 5fc407bfa..293632342 100644 --- a/host/utils/uhd_usrp_probe.cpp +++ b/host/utils/uhd_usrp_probe.cpp @@ -160,6 +160,9 @@ static std::string get_mboard_pp_string(property_tree::sptr tree, const fs_path if (tree->exists(path / "fpga_version")){ ss << "FPGA Version: " << tree->access(path / "fpga_version").get() << std::endl; } + if (tree->exists(path / "fpga_version_hash")){ + ss << "FPGA git hash: " << tree->access(path / "fpga_version_hash").get() << std::endl; + } if (tree->exists(path / "xbar")){ ss << "RFNoC capable: Yes" << std::endl; } -- cgit v1.2.3