aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/e300/e300_impl.cpp')
-rw-r--r--host/lib/usrp/e300/e300_impl.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp
index 0003dddb0..a57c86c1d 100644
--- a/host/lib/usrp/e300/e300_impl.cpp
+++ b/host/lib/usrp/e300/e300_impl.cpp
@@ -277,15 +277,20 @@ void get_e3x0_fpga_images(const uhd::device_addr_t &device_addr,
//extract the FPGA path for the e300
switch(e300_eeprom_manager::get_mb_type(pid)) {
- case e300_eeprom_manager::USRP_E310_MB:
+ case e300_eeprom_manager::USRP_E310_SG1_MB:
fpga_image = device_addr.cast<std::string>("fpga",
- find_image_path(E310_FPGA_FILE_NAME));
- idle_image = find_image_path(E310_FPGA_IDLE_FILE_NAME);
+ find_image_path(E310_SG1_FPGA_FILE_NAME));
+ idle_image = find_image_path(E3XX_SG1_FPGA_IDLE_FILE_NAME);
+ break;
+ case e300_eeprom_manager::USRP_E310_SG3_MB:
+ fpga_image = device_addr.cast<std::string>("fpga",
+ find_image_path(E310_SG3_FPGA_FILE_NAME));
+ idle_image = find_image_path(E3XX_SG3_FPGA_IDLE_FILE_NAME);
break;
case e300_eeprom_manager::USRP_E300_MB:
fpga_image = device_addr.cast<std::string>("fpga",
find_image_path(E300_FPGA_FILE_NAME));
- idle_image = find_image_path(E300_FPGA_IDLE_FILE_NAME);
+ idle_image = find_image_path(E3XX_SG1_FPGA_IDLE_FILE_NAME);
break;
case e300_eeprom_manager::UNKNOWN:
default:
@@ -293,7 +298,7 @@ void get_e3x0_fpga_images(const uhd::device_addr_t &device_addr,
<< std::endl;
fpga_image = device_addr.cast<std::string>("fpga",
find_image_path(E300_FPGA_FILE_NAME));
- idle_image = find_image_path(E300_FPGA_IDLE_FILE_NAME);
+ idle_image = find_image_path(E3XX_SG1_FPGA_IDLE_FILE_NAME);
break;
}
}