aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-05-11 17:28:10 -0700
committerJosh Blum <josh@joshknows.com>2012-05-11 17:28:10 -0700
commit4f19f3f4ece412cb3e3162ef5ebced4f99da0dd7 (patch)
tree90d0ed7dd1c261ac90530286697371aea3eb7dcf /host/lib/usrp/usrp2/usrp2_impl.cpp
parent233442688ee0c507ddca9fe12959fe6027c9e258 (diff)
downloaduhd-4f19f3f4ece412cb3e3162ef5ebced4f99da0dd7.tar.gz
uhd-4f19f3f4ece412cb3e3162ef5ebced4f99da0dd7.tar.bz2
uhd-4f19f3f4ece412cb3e3162ef5ebced4f99da0dd7.zip
usrp2: print helpful message with burner command
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index 0876e36c4..620dd04fb 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -368,8 +368,9 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){
"\nPlease update the firmware and FPGA images for your device.\n"
"See the application notes for USRP2/N-Series for instructions.\n"
"Expected FPGA compatibility number %d, but got %d:\n"
- "The FPGA build is not compatible with the host code build."
- ) % int(USRP2_FPGA_COMPAT_NUM) % fpga_major));
+ "The FPGA build is not compatible with the host code build.\n"
+ "%s\n"
+ ) % int(USRP2_FPGA_COMPAT_NUM) % fpga_major % _mbc[mb].iface->images_warn_help_message()));
}
_tree->create<std::string>(mb_path / "fpga_version").set(str(boost::format("%u.%u") % fpga_major % fpga_minor));