aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* usrp: deleted a bunch on obsoleted files in usrp directoryJosh Blum2011-06-291-1/+0
|
* uhd: make sure things are initializedJosh Blum2011-06-291-8/+24
|
* uhd: properties tweaks and docsJosh Blum2011-06-291-5/+5
|
* usrp: got probe working w/ the new property treeJosh Blum2011-06-281-4/+5
|
* uhd: re-work to make the properties easier to useJosh Blum2011-06-281-34/+23
|
* usrp: populate a tree from a subdevJosh Blum2011-06-271-0/+118
|
* uhd: added more SAFE_CALL macros to hardware wrapper dtorsJosh Blum2011-06-101-3/+3
| | | | And removed the calls on the sptr resets (not needed now).
* uhd: added safe call on a few dboard related deconstructorsJosh Blum2011-06-101-1/+2
|
* uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-041-4/+4
| | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* uhd: replaced many conditional prints with UHD_LOG usageJosh Blum2011-05-041-2/+2
|
* usrp: work on dboard_manager to register an ID for multiple xcvr combinationsJosh Blum2011-04-261-75/+123
|
* uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-241-3/+3
|
* uhd: renamed the assert header to assert hasJosh Blum2011-02-241-1/+1
| | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match
* uhd: switch dboard id prop to whole eeprom structJosh Blum2011-02-221-4/+17
| | | | | | modified implementation code and burner app also made dboard manager use safe constructor that will use none ids if construction fails
* 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
|