| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
|
|
|
|
|
|
|
| |
This is mostly a search-and-replace operation, with few exceptions:
- boost::function has a clear() method. In C++11, this is achieved by
assigning nullptr to the std::function object.
- The empty() method is replaced by std::function's bool() operator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the following Boost constructs:
- boost::shared_ptr, boost::weak_ptr
- boost::enable_shared_from_this
- boost::static_pointer_cast, boost::dynamic_pointer_cast
The appropriate includes were also removed. All C++11 versions of these
require #include <memory>.
Note that the stdlib and Boost versions have the exact same syntax, they
only differ in the namespace (boost vs. std). The modifications were all
done using sed, with the exception of boost::scoped_ptr, which was
replaced by std::unique_ptr.
References to boost::smart_ptr were also removed.
boost::intrusive_ptr is not removed in this commit, since it does not
have a 1:1 mapping to a C++11 construct.
|
|
|
|
|
|
|
| |
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
|
| |
|
|
|
|
|
|
|
|
| |
types)
- Also removes all references to boost/cstdint.hpp and replaces it with
stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
compilers support that).
|
|
|
|
|
| |
This creates a wb_iface child class called timed_wb_iface, which
adds support for timed commands.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
also fixes irq rb
|
|
|
|
|
|
|
|
|
|
| |
Each iface instance can lock itself to a particular device.
When the device is locked, it cannot be discovered through find.
Locking works by having a lock thread periodically update
a register in the firmware that says when the device was last locked.
The find routine can determine if a device is locked by checking
the difference between the current time and this register.
|
| |
|
|
|
|
| |
also fixed some warnings with unused parameters
|
|\
| |
| |
| |
| | |
Conflicts:
host/lib/usrp/usrp2/usrp2_iface.hpp
|
| |
| |
| |
| | |
devices inherit from it.
|
|/ |
|
|
|
|
|
|
|
| |
function to write/read strings to UART.
not sure if i'm happy with the interface; maybe inheriting is cleaner. this works though.
gps interface for usrp2 is disabled right now in mboard_impl.
|
|
|
|
|
|
|
|
|
| |
renamed the enum for the pps time
added calls to single and multi wrappers
set time unknown pps now simpler
removed peek64 stuff from host + fw
please test
|
| |
|
|
|
|
|
|
| |
usrp2_regs.hpp and some logic.
Also change ethernet.c to move generic code to eth_lib.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
firmware/microblaze/lib/u2_init.c
host/lib/usrp/usrp2/clock_ctrl.cpp
host/lib/usrp/usrp2/fw_common.h
host/lib/usrp/usrp2/mboard_impl.cpp
host/lib/usrp/usrp2/usrp2_iface.cpp
host/lib/usrp/usrp2/usrp2_iface.hpp
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Added usrp2_burn_mb_rev.cpp to utils. It is not installed to the utils install dir.
Not all happy with the mboard_rev setup -- is_usrp2p() is too specific for a generalized mboard_rev concept. I'm not sure where else to put it so for now it stays.
|
| |
| |
| |
| | |
with hardware revisions.
|
| |
| |
| |
| | |
No multibaud support yet. read/write_uart() now do multiple-packet writes in multiples of 20 bytes (hardcoded).
|
| | |
|
| |
| |
| |
| | |
Have not yet added GPS control library. Debug crap in mboard_impl.cpp constructor.
|
|/
|
|
|
|
|
| |
Change summary:
Added clock register selection between USRP2/USRP2+
Added memory map selection between USRP2/USRP2+
Added ADS62P44 support for USRP2+
|
|
|
|
| |
also added a templated host to/from network conversion in byteswap.hpp (didnt use it though)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
calls.
No longer part of the dude/bro protocol.
Simplified the mac and ip addr read write code in mboard impl.
Modified the mac addr type to take byte_vector_t from serial.hpp types.
|
| |
|
|
|
|
|
| |
Created a eeprom parser for the format in the dboard.
Removed the support from the microblaze code.
|
|
|
|
| |
interfacing
|
|
|
|
| |
a burden
|
|
Its used in all the implementation level code
|