diff options
Diffstat (limited to 'host/lib/usrp/mpmd')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_devices.hpp | 3 | ||||
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_image_loader.cpp | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_devices.hpp b/host/lib/usrp/mpmd/mpmd_devices.hpp index 7e12fe31a..ab0cc1271 100644 --- a/host/lib/usrp/mpmd/mpmd_devices.hpp +++ b/host/lib/usrp/mpmd/mpmd_devices.hpp @@ -17,7 +17,8 @@ static constexpr char MPM_CATCHALL_DEVICE_TYPE[] = "mpm"; // to make decisions. This vector is for filtering purposes. static const std::vector<std::string> MPM_DEVICE_TYPES = { MPM_CATCHALL_DEVICE_TYPE, - "n3xx" + "n3xx", + "e3xx", }; #endif /* INCLUDED_MPMD_DEVICES_HPP */ diff --git a/host/lib/usrp/mpmd/mpmd_image_loader.cpp b/host/lib/usrp/mpmd/mpmd_image_loader.cpp index fa09dc08b..e0b85f897 100644 --- a/host/lib/usrp/mpmd/mpmd_image_loader.cpp +++ b/host/lib/usrp/mpmd/mpmd_image_loader.cpp @@ -81,7 +81,9 @@ uhd::usrp::component_file_t generate_component( */ static bool mpmd_image_loader(const image_loader::image_loader_args_t &image_loader_args){ // See if any MPM devices with the given args are found - device_addrs_t devs = mpmd_find(image_loader_args.args); + device_addr_t find_hint = image_loader_args.args; + find_hint.set("find_all", "1"); // We need to find all devices + device_addrs_t devs = mpmd_find(find_hint); if (devs.size() != 1) { // TODO: Do we want to handle multiple devices here? @@ -189,4 +191,5 @@ UHD_STATIC_BLOCK(register_mpm_image_loader){ //TODO: 'n3xx' doesn't really fit the MPM abstraction, but this is simpler for the time being image_loader::register_image_loader("n3xx", mpmd_image_loader, recovery_instructions); + image_loader::register_image_loader("e3xx", mpmd_image_loader, recovery_instructions); } |