aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.hpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-10/+12
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace boost::function with std::functionMartin Braun2019-11-261-1/+1
| | | | | | | 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
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-2/+2
| | | | | | | | 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).
* uhd: Add ability to get and set command time through dboard_iface.michael-west2015-04-031-1/+1
| | | | | This creates a wb_iface child class called timed_wb_iface, which adds support for timed commands.
* uhd: wb_iface is now a public interfaceJosh Blum2013-10-041-3/+4
|
* usrp2: created fw peek/poke functionsJosh Blum2012-06-181-1/+7
|
* usrp2: print helpful message with burner commandJosh Blum2012-05-111-0/+3
|
* usrp2: uart/udp work in host and fw, workingJosh Blum2011-09-281-8/+1
|
* usrp2: added fw minor and moved ICMP dest error handling to txrx appJosh Blum2011-07-181-0/+3
|
* usrp2: moved impl back into usrp subdirJosh Blum2011-06-291-6/+5
|
* N210: changes for rev 4 supportNick Foster2011-05-181-0/+2
|
* usrp2: moved register map into #defines, entries for new dsp frontendJosh Blum2011-05-171-5/+0
| | | | also fixes irq rb
* usrp2: added the concept of device locking to usrp2/nseries devicesJosh Blum2011-05-011-0/+6
| | | | | | | | | | 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.
* uhd: update copyright headers with automated scriptJosh Blum2011-03-231-1/+1
|
* uhd: removed mb_eeprom from mboard iface (already exposed in property)Josh Blum2011-03-031-0/+3
| | | | also fixed some warnings with unused parameters
* Merge branch 'mb_iface' into nextJosh Blum2011-03-031-56/+2
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_iface.hpp
| * Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP ↵Nick Foster2011-03-011-56/+2
| | | | | | | | devices inherit from it.
* | usrp2: only include fw_common when needed, remove virtual send/recv, not exposedJosh Blum2011-03-021-8/+0
|/
* next: generalized the GPS interface to any USRP device. just give it a ↵Nick Foster2011-01-171-0/+9
| | | | | | | 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.
* usrp2: implemented get time last ppsJosh Blum2010-12-301-9/+0
| | | | | | | | | 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: made enums for the rev types and implemented in codeJosh Blum2010-11-111-5/+17
|
* U2P: Ripped out the mboard_rev_t structure in favor of an enum in ↵Nick Foster2010-11-101-16/+5
| | | | | | usrp2_regs.hpp and some logic. Also change ethernet.c to move generic code to eth_lib.
* Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p-nextNick Foster2010-11-101-0/+3
|\ | | | | | | | | | | | | | | | | | | 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
| * usrp2: move mboard eeprom instance into iface to the clock control can access itJosh Blum2010-11-041-0/+4
| |
| * usrp2: reorganized firmware directoryJosh Blum2010-07-301-16/+0
| |
* | 2+: moved mboard_rev to usrp2/ in preparation for merging upstreamNick Foster2010-11-101-4/+4
| |
* | USRP2P: mboard rev works through props interface.Nick Foster2010-10-121-0/+1
| | | | | | | | | | | | 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.
* | USRP2P: This is surprisingly involved. Adding a consistent interface to deal ↵Nick Foster2010-10-121-3/+3
| | | | | | | | with hardware revisions.
* | Support for NMEA reads. Uses NMEA parsing instead of Jackson Labs parsing.Nick Foster2010-08-131-1/+1
| | | | | | | | No multibaud support yet. read/write_uart() now do multiple-packet writes in multiples of 20 bytes (hardcoded).
* | Host-side fixes for GPS UART.Nick Foster2010-08-121-2/+2
| |
* | Added host-side support for UART messaging.Nick Foster2010-08-121-0/+4
| | | | | | | | Have not yet added GPS control library. Debug crap in mboard_impl.cpp constructor.
* | Host-side changes to work with the USRP2+.Nick Foster2010-07-261-16/+21
|/ | | | | | | Change summary: Added clock register selection between USRP2/USRP2+ Added memory map selection between USRP2/USRP2+ Added ADS62P44 support for USRP2+
* usrp2: Added a peek64 to read pairs of 32 bit numbers such as time64Josh Blum2010-07-051-0/+10
| | | | also added a templated host to/from network conversion in byteswap.hpp (didnt use it though)
* move get clock rate into clock controlJosh Blum2010-06-041-6/+0
|
* Moved usrp2 eeprom addr read/write to host control over i2c/eeprom interface ↵Josh Blum2010-05-111-0/+7
| | | | | | | | | | 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.
* Added i2c interface to serial.hpp, using in usrp2_iface for i2c and eeprom.Josh Blum2010-04-261-47/+1
|
* Moved reading the eeprom (dboard ids) onto the host.Josh Blum2010-04-231-0/+55
| | | | | Created a eeprom parser for the format in the dboard. Removed the support from the microblaze code.
* moved spi and i2c api into serial.hpp, its used for more than the dboard ↵Josh Blum2010-04-161-2/+2
| | | | interfacing
* renamed dboard interface to dboard iface, the lengthy name was getting to be ↵Josh Blum2010-04-141-1/+1
| | | | a burden
* Created a usrp2 interface class with the control, spi, peek/poke functionality.Josh Blum2010-04-131-0/+103
Its used in all the implementation level code