diff options
| author | Ben Hilburn <ben.hilburn@ettus.com> | 2015-01-28 13:23:42 -0800 | 
|---|---|---|
| committer | Ben Hilburn <ben.hilburn@ettus.com> | 2015-01-28 13:23:42 -0800 | 
| commit | b92662d5780f3a2d872e5ab96efc0760cce1fe53 (patch) | |
| tree | 2a4b03ad89ea68619010ecee0115c702fb2354d8 /host/lib/usrp/b200 | |
| parent | ebe7169dcecd1b6899734cefdf5771612067fd48 (diff) | |
| parent | db3fac73beb30ceaaf6a275d9668a38af3b839f5 (diff) | |
| download | uhd-b92662d5780f3a2d872e5ab96efc0760cce1fe53.tar.gz uhd-b92662d5780f3a2d872e5ab96efc0760cce1fe53.tar.bz2 uhd-b92662d5780f3a2d872e5ab96efc0760cce1fe53.zip  | |
Merge branch 'maint' into master
Resolved Conflicts:
	host/docs/usrp_e3x0.dox
	host/include/uhd/utils/paths.hpp
	host/lib/transport/nirio/nifpga_lvbitx.cpp
	host/lib/usrp/b200/b200_impl.cpp
	host/lib/utils/paths.cpp
Diffstat (limited to 'host/lib/usrp/b200')
| -rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 22e68c4ed..f07b7fc6f 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -17,6 +17,7 @@  #include "b200_impl.hpp"  #include "b200_regs.hpp" +#include <uhd/config.hpp>  #include <uhd/transport/usb_control.hpp>  #include <uhd/utils/msg.hpp>  #include <uhd/utils/cast.hpp> @@ -112,13 +113,11 @@ static device_addrs_t b200_find(const device_addr_t &hint)          //extract the firmware path for the b200          std::string b200_fw_image;          try{ -            b200_fw_image = find_image_path(hint.get("fw", B200_FW_FILE_NAME)); +            b200_fw_image = hint.get("fw", B200_FW_FILE_NAME); +            b200_fw_image = uhd::find_image_path(b200_fw_image, STR(UHD_IMAGES_DIR)); // FIXME          } -        catch(...){ -            UHD_MSG(warning) << boost::format( -                "Could not locate B200 firmware.\n" -                "Please install the images package. %s\n" -            ) % print_utility_error("uhd_images_downloader.py"); +        catch(uhd::exception &e){ +            UHD_MSG(warning) << e.what();              return b200_addrs;          }          UHD_LOG << "the firmware image: " << b200_fw_image << std::endl;  | 
