From 7d28d9140e2c57db36b37d60d9ce4bff86357bac Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 17 Apr 2018 19:33:53 -0700 Subject: uhd: initial commit of UHD support for E320 Co-authored-by: Sugandha Gupta --- host/lib/usrp/mpmd/mpmd_image_loader.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/mpmd/mpmd_image_loader.cpp') 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); } -- cgit v1.2.3