diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-27 18:43:43 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-27 18:43:43 -0700 |
commit | a92db9de2707ea2220d15d3bd6e49b43451b4f88 (patch) | |
tree | 3a1735a1626e6c6b7bce859209ba78cbac18f4be /host/lib/usrp/usrp2/usrp2_impl.cpp | |
parent | 1e9ff6fb0e946c8984f48fcf2ef868fb86dec5ea (diff) | |
download | uhd-a92db9de2707ea2220d15d3bd6e49b43451b4f88.tar.gz uhd-a92db9de2707ea2220d15d3bd6e49b43451b4f88.tar.bz2 uhd-a92db9de2707ea2220d15d3bd6e49b43451b4f88.zip |
usrp2: created new gpio core and used in dboard iface
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index f87eb067e..8cf96721e 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -356,6 +356,16 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){ } _tree->create<std::string>(mb_path / "fpga_version").set(str(boost::format("%u.%u") % fpga_major % fpga_minor)); + //-------------------------------------------------------------- + if (fpga_minor == 0){ //!!! special temporary check !!!// + UHD_MSG(warning) + << "Detected FPGA pre-release minor version 0.\n" + << "This build has known transmit issues.\n" + << "Please grab the latest images from the wiki.\n" + ; + } + //-------------------------------------------------------------- + //lock the device/motherboard to this process _mbc[mb].iface->lock_device(true); |