aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-02-10 13:55:26 -0800
committerMartin Braun <martin.braun@ettus.com>2017-02-10 16:41:25 -0800
commit0e7c61ec6818232ffcb68b79e54d8ffbe7431d75 (patch)
treeeccf19847707d549152aaf496db6186ce4d82156 /host/utils
parent211c590f594f83dc8b5fc724d49c1c8d7207d2f2 (diff)
downloaduhd-0e7c61ec6818232ffcb68b79e54d8ffbe7431d75.tar.gz
uhd-0e7c61ec6818232ffcb68b79e54d8ffbe7431d75.tar.bz2
uhd-0e7c61ec6818232ffcb68b79e54d8ffbe7431d75.zip
utils: Enable printing of FPGA hash in uhd_usrp_probe
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/uhd_usrp_probe.cpp3
1 files changed, 3 insertions, 0 deletions
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<std::string>(path / "fpga_version").get() << std::endl;
}
+ if (tree->exists(path / "fpga_version_hash")){
+ ss << "FPGA git hash: " << tree->access<std::string>(path / "fpga_version_hash").get() << std::endl;
+ }
if (tree->exists(path / "xbar")){
ss << "RFNoC capable: Yes" << std::endl;
}