diff options
| author | Nicholas Corgan <nick.corgan@ettus.com> | 2012-11-16 16:04:26 -0800 | 
|---|---|---|
| committer | Nicholas Corgan <nick.corgan@ettus.com> | 2012-11-16 16:04:26 -0800 | 
| commit | eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178 (patch) | |
| tree | 84afd7a5c5d3c58d90999bad7478ea9e0b02a646 /host/lib/usrp/b100 | |
| parent | 3d01dec1aba85bb9fe936cbb1ca653a82961e181 (diff) | |
| parent | 011f63d19d6c614666ba7ee145b0685d36a8a0de (diff) | |
| download | uhd-eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178.tar.gz uhd-eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178.tar.bz2 uhd-eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178.zip | |
Merge branch 'maint34' into maint
Conflicts:
	host/lib/usrp/b100/b100_impl.cpp
	host/lib/usrp/usrp1/usrp1_impl.hpp
Diffstat (limited to 'host/lib/usrp/b100')
| -rw-r--r-- | host/lib/usrp/b100/b100_impl.cpp | 3 | ||||
| -rw-r--r-- | host/lib/usrp/b100/b100_impl.hpp | 10 | 
2 files changed, 10 insertions, 3 deletions
| diff --git a/host/lib/usrp/b100/b100_impl.cpp b/host/lib/usrp/b100/b100_impl.cpp index a5a0ef9b0..c4d050242 100644 --- a/host/lib/usrp/b100/b100_impl.cpp +++ b/host/lib/usrp/b100/b100_impl.cpp @@ -18,9 +18,6 @@  #include "apply_corrections.hpp"  #include "b100_impl.hpp"  #include "b100_regs.hpp" -#include "fpga_regs_standard.h" -#include "usrp_i2c_addr.h" -#include "usrp_commands.h"  #include <uhd/transport/usb_control.hpp>  #include <uhd/utils/msg.hpp>  #include <uhd/exception.hpp> diff --git a/host/lib/usrp/b100/b100_impl.hpp b/host/lib/usrp/b100/b100_impl.hpp index 250229fb8..68d7043a1 100644 --- a/host/lib/usrp/b100/b100_impl.hpp +++ b/host/lib/usrp/b100/b100_impl.hpp @@ -55,6 +55,16 @@ static const double          B100_DEFAULT_TICK_RATE = 64e6;  static const size_t          B100_MAX_PKT_BYTE_LIMIT = 2048;  static const std::string     B100_EEPROM_MAP_KEY = "B100"; +#define I2C_ADDR_TX_A       (I2C_DEV_EEPROM | 0x4) +#define I2C_ADDR_RX_A       (I2C_DEV_EEPROM | 0x5) +#define I2C_ADDR_TX_B       (I2C_DEV_EEPROM | 0x6) +#define I2C_ADDR_RX_B       (I2C_DEV_EEPROM | 0x7) +#define I2C_DEV_EEPROM      0x50 + +#define VRQ_FW_COMPAT       0x83 +#define VRQ_ENABLE_GPIF     0x0d +#define VRQ_CLEAR_FPGA_FIFO 0x0e +  //! Make a b100 dboard interface  uhd::usrp::dboard_iface::sptr make_b100_dboard_iface(      wb_iface::sptr wb_iface, | 
