diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-07-16 10:43:10 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-17 10:49:21 -0700 |
commit | 6c7a4193a3b24da0bdacbb95d3b11afed3e00f63 (patch) | |
tree | 9b789bb283f2b8434fb83f8cad409108d0f00232 | |
parent | de4545ed4f59f89d6123377b6bdafa59aed79238 (diff) | |
download | uhd-6c7a4193a3b24da0bdacbb95d3b11afed3e00f63.tar.gz uhd-6c7a4193a3b24da0bdacbb95d3b11afed3e00f63.tar.bz2 uhd-6c7a4193a3b24da0bdacbb95d3b11afed3e00f63.zip |
mpm: mg: Print AD9371 info as debug message during init
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/magnesium.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/magnesium.py b/mpm/python/usrp_mpm/dboard_manager/magnesium.py index 2385b05eb..f81e07f43 100644 --- a/mpm/python/usrp_mpm/dboard_manager/magnesium.py +++ b/mpm/python/usrp_mpm/dboard_manager/magnesium.py @@ -225,6 +225,14 @@ class Magnesium(DboardManagerBase): self.spi_lock = self._device.get_spi_lock() self.log.trace("Loaded C++ drivers.") self._init_myk_api(self.mykonos) + self.log.debug( + "AD9371: ARM version: {arm_ver} API version: {api_ver} " + "Device revision: {dev_rev}".format( + arm_ver=self.get_arm_version(), + api_ver=self.get_api_version(), + dev_rev=self.get_device_rev(), + ) + ) self.eeprom_fs, self.eeprom_path = self._init_user_eeprom( self._get_user_eeprom_info(self.rev) ) |