aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: added read-back calls to dboard iface gpio settings, and optional maskJosh Blum2010-11-261-1/+1
|
* uhd: replaced print warning with a post warning call and registryJosh Blum2010-10-261-2/+2
| | | | | | renamed print warning calls in the implementation fixed issue with dict::pop so it now works even if the value is not comparable
* usrp: use a dash as the gain name prefix separator, removed RX/TX auto ↵Josh Blum2010-10-201-2/+2
| | | | suffix for XCVR board cnames
* usrp: use the dboard id to prefix the subdev gain group namesJosh Blum2010-10-201-5/+6
|
* usrp: added subdev enabled propertyJosh Blum2010-09-301-1/+11
| | | | | | | | | | the dboard manager will disable all subdevs at startup and shutdown setting the subdev spec will enable only the subdevs in use all dboards are currently implemented as always enabled nothing tested
* dboard: better warnings for invalid IDs and invalid ID combinationsJosh Blum2010-09-281-6/+19
|
* usrp: removed gain handler code (replaced by gain group)Josh Blum2010-07-271-20/+3
|
* usrp: changed opaque pointer implementation for dboard contructor argsJosh Blum2010-07-221-1/+1
|
* uhd: added checking for xcvr dbids, added unknown dboard rx and tx ↵Josh Blum2010-06-181-14/+35
| | | | constructors (for bad dbids or combinations)
* uhd: added dboard manager call to register xcvr board, implemented in xcvr ↵Josh Blum2010-06-181-1/+12
| | | | dboard code
* replaced the assert falses with an invalid code path exceptionJosh Blum2010-06-021-1/+1
|
* Added support to set GPIO pins from dboard interface:Josh Blum2010-05-241-1/+2
| | | | | | write gpio and set pin control (atr or gpio) Added property to get dboard interface from the dboard obj.
* minor fix to pass dboard ctor args with correct dbidsJosh Blum2010-05-031-2/+4
|
* Expanded the dboard id API to create dboard id types from strings and ints.Josh Blum2010-05-031-10/+13
| | | | | | And created utility functions to go between representations. Created to_pp_string for pretty print strings for dboard ids and device addrs. Minor changes to the various classes that call these utilities.
* Replaced the dboard base constructor args with an opaque type.Josh Blum2010-05-021-9/+15
|
* Cleaned up some dboard manager construction logic.Josh Blum2010-05-021-17/+19
| | | | Moved the dboard base private stuff into a forward declaration.
* prefixed the ASSERT_THROW macro with UHD for the sake of namespaceJosh Blum2010-04-261-1/+1
|
* Got eeprom read/write dboard ids working.Josh Blum2010-04-261-2/+3
| | | | | Moved named prop implementation into cpp, and made named prop a struct (tuples are trouble).
* renamed dboard interface to dboard iface, the lengthy name was getting to be ↵Josh Blum2010-04-141-17/+17
| | | | a burden
* controlling dboard clock enables from hostJosh Blum2010-04-121-11/+17
|
* merged unit type and gpio bank for dboard interface into one type, expanded ↵Josh Blum2010-04-121-4/+4
| | | | dboard clock config api
* renamed dict get key and value methodsJosh Blum2010-04-051-2/+2
|
* moved props into usrp and multiple hpp filesJosh Blum2010-04-011-0/+1
|
* Refactor ATR part of dboard interface (and some constants).Josh Blum2010-03-311-7/+4
| | | | | | Added peek and poke to the dude/bro protocol. Started moving more control code through peek and poke. Added usrp_regs.hpp to be like memory map for slave perifs.
* removed masks for ddr and gpio write in dboard interfaceJosh Blum2010-03-301-4/+4
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-291-3/+3
|
* Added tune helper to utils.Josh Blum2010-03-291-1/+1
| | | | | | | Takes a subdevice and dxc properties object and tunes them. Made use of tune helper in simple device. Moved gain handler into utils header dir.
* refactored types.hpp into types directoryJosh Blum2010-03-271-1/+1
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-271-2/+3
| | | | | | | static for static block and static instance (singleton) assert for assertion and throwing related stuff algorithm for my addons to std::algorithm (has) and a new one, safe main, for having a main catch-all
* massaged some of the dboard callsJosh Blum2010-03-221-4/+4
|
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-161-2/+2
| | | | | This is used to calculate and set the ddc and duc muxes. Also, minor fix for burning addrs (wrong pointer....)
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-151-25/+28
| | | | Added static instance macro for lazy instantiation of static variables.
* Removed freq min and max and gain min, max, and step...Josh Blum2010-03-121-7/+6
| | | | | replaced it with gain and freq range tuples. This simplifies the api calls and subdev properties.
* Cleaned up the gain handler (thing that gets and sets wildcard gains)Josh Blum2010-03-111-33/+50
| | | | | | and made use of it in the dboard manager so it intercepts the sets and gets. While doing this, fixed something with nested links in wax obj. Added some useful macros and templates to the utils.
* Filled in dboard code for basics and lf type boards.Josh Blum2010-03-101-28/+12
| | | | | | The dboard is now just a uint16 (dont bother with the enums). The dboard manager now registers subdevs with a name. The basic board code uses a static block to register itself.
* added set nice gpio pins to manager on init and deconstructJosh Blum2010-02-221-9/+18
|
* Made implementation class for the dboard manager.Josh Blum2010-02-221-8/+50
|
* Moved lib and include contents of dboard and mboard one directory up and ↵Josh Blum2010-02-211-0/+231
prefixed them with dboard_ and mboard_. And yes, the code is compiling.