aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300
diff options
context:
space:
mode:
authorAlex Williams <alex.williams@ni.com>2019-09-04 11:08:48 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:31 -0800
commitf3a86a32944ae68047e6f64369e93a6830742601 (patch)
tree6311b9a070d777bd823f7f1b2e6581acd776d9ac /host/lib/usrp/x300
parentcb9329a681552e6ac6277d16e1627afcbb23e637 (diff)
downloaduhd-f3a86a32944ae68047e6f64369e93a6830742601.tar.gz
uhd-f3a86a32944ae68047e6f64369e93a6830742601.tar.bz2
uhd-f3a86a32944ae68047e6f64369e93a6830742601.zip
rfnoc: Unify endianness of transports
Ethernet now uses the same serialization of the RFNoC stream as all the other transports.
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r--host/lib/usrp/x300/x300_fw_common.h2
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
-rw-r--r--host/lib/usrp/x300/x300_mb_iface.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/x300/x300_fw_common.h b/host/lib/usrp/x300/x300_fw_common.h
index a966bcd13..6cc363d1e 100644
--- a/host/lib/usrp/x300/x300_fw_common.h
+++ b/host/lib/usrp/x300/x300_fw_common.h
@@ -23,7 +23,7 @@ extern "C" {
#define X300_REVISION_MIN 2
#define X300_FW_COMPAT_MAJOR 6
#define X300_FW_COMPAT_MINOR 0
-#define X300_FPGA_COMPAT_MAJOR 0x25
+#define X300_FPGA_COMPAT_MAJOR 0x26
//shared memory sections - in between the stack and the program space
#define X300_FW_SHMEM_BASE 0x6000
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index d1d7b43f7..636202d33 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -41,7 +41,7 @@ void init_prop_tree(
const uhd::rfnoc::chdr::chdr_packet_factory x300_impl::_pkt_factory(
- CHDR_W_64, ENDIANNESS_BIG);
+ CHDR_W_64, ENDIANNESS_LITTLE);
/***********************************************************************
diff --git a/host/lib/usrp/x300/x300_mb_iface.cpp b/host/lib/usrp/x300/x300_mb_iface.cpp
index 2c053080d..5642ffc98 100644
--- a/host/lib/usrp/x300/x300_mb_iface.cpp
+++ b/host/lib/usrp/x300/x300_mb_iface.cpp
@@ -44,7 +44,7 @@ uhd::endianness_t x300_impl::x300_mb_iface::get_endianness(
const uhd::rfnoc::device_id_t /*local_device_id*/)
{
// FIXME
- return uhd::ENDIANNESS_BIG;
+ return uhd::ENDIANNESS_LITTLE;
}
uhd::rfnoc::device_id_t x300_impl::x300_mb_iface::get_remote_device_id()