Derek Kozel
f360059b99
dboard manager: Allow deferring dboard initialization
2016-08-09 10:21:53 -07:00
Ashish Chaudhari
261ae74f8e
dboards: Added APIs to get RX and TX frontend names
2016-02-26 14:36:26 -08:00
Ashish Chaudhari
6db9ac785c
dboards: Added ability to register a per-dboard container class
...
- The typical dboard classes are actually "subdev" classes i.e.
there is one instance per dboard subdev (front-end). This makes
it hard to implement shared functionality between multiple
front-ends.
- This changes adds the ability to create a container class which
is created per group of subdevs and each subdev gets a pointer
to the container class for cross linkage.
2016-02-26 14:23:40 -08:00
Ashish Chaudhari
c37ab6091c
db_manager: Cleaned up iface pointer in subtree after error
2016-02-18 09:07:07 -08:00
Ashish Chaudhari
b263800437
dboard: Added restricted dboard registration capability
...
- Moved dboard iface initialization to dboard_manager
- Added a restricted register function. Restricted dboards
don't expose their control iface in the property tree
2016-02-16 16:19:01 -08:00
Josh Blum
1afac89b4a
usrp: db manager tweak for contructor throwing
2012-01-11 09:08:40 -08:00
Josh Blum
c5def1feff
uhd: typo fix for the error print
2011-12-15 14:22:55 -08:00
Josh Blum
bd132be3d3
usrp: better error message when dboard fails in init
2011-12-15 10:12:33 -08:00
Josh Blum
d9035414a2
usrp: work on dboard code to use subtrees to populate frontend props
2011-11-07 11:20:04 -08:00
Josh Blum
93aee13653
usrp: dboard sensors fix, populate for tvrx, and should be empty on basics/unknown
2011-08-18 10:11:57 -07:00
Josh Blum
aa6b340f43
uhd: added subtree capability to property tree
2011-07-08 10:08:43 -07:00
Josh Blum
d38757f465
usrp: deleted a bunch on obsoleted files in usrp directory
2011-06-29 13:23:18 -07:00
Josh Blum
35a0bce9f0
uhd: make sure things are initialized
2011-06-29 12:20:19 -07:00
Josh Blum
54b8be72fd
uhd: properties tweaks and docs
2011-06-29 11:26:33 -07:00
Josh Blum
8308fb0eef
usrp: got probe working w/ the new property tree
2011-06-28 16:05:08 -07:00
Josh Blum
4888233252
uhd: re-work to make the properties easier to use
2011-06-28 11:11:04 -07:00
Josh Blum
5aab802b60
usrp: populate a tree from a subdev
2011-06-27 20:26:52 -07:00
Josh Blum
09cf8eb164
uhd: added more SAFE_CALL macros to hardware wrapper dtors
...
And removed the calls on the sptr resets (not needed now).
2011-06-10 15:23:24 -07:00
Josh Blum
e709e4d365
uhd: added safe call on a few dboard related deconstructors
2011-06-10 13:11:22 -07:00
Josh Blum
7f01386f63
uhd: replaced warning post with calls to UHD_MSG(warning)
...
The message api can support warnings, error, and status messages.
The default handler is to stdio, but the user can change this.
2011-05-04 18:36:10 -07:00
Josh Blum
c8dca30d72
uhd: replaced many conditional prints with UHD_LOG usage
2011-05-04 15:27:11 -07:00
Josh Blum
40feb62b3d
usrp: work on dboard_manager to register an ID for multiple xcvr combinations
2011-04-26 14:15:16 -07:00
Josh Blum
4357f5d3c0
uhd: replaced instanced of std::exception with the uhd exceptions
2011-02-24 16:35:29 -08:00
Josh Blum
16f08844d7
uhd: renamed the assert header to assert has
...
only the assert has implementation is in this header
uhd assert throw moved to the exception header
updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
76ebda895c
uhd: switch dboard id prop to whole eeprom struct
...
modified implementation code and burner app
also made dboard manager use safe constructor that will use none ids if construction fails
2011-02-22 11:55:54 -08:00
Josh Blum
9a2e26e500
uhd: added read-back calls to dboard iface gpio settings, and optional mask
2010-11-26 23:27:53 -05:00
Josh Blum
cea3d05095
uhd: replaced print warning with a post warning call and registry
...
renamed print warning calls in the implementation
fixed issue with dict::pop so it now works even if the value is not comparable
2010-10-26 14:14:01 -07:00
Josh Blum
c2ec8c143e
usrp: use a dash as the gain name prefix separator, removed RX/TX auto suffix for XCVR board cnames
2010-10-20 18:40:36 -07:00
Josh Blum
d96b2e7587
usrp: use the dboard id to prefix the subdev gain group names
2010-10-20 17:41:59 -07:00
Josh Blum
a4f8ad59b2
usrp: added subdev enabled property
...
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
2010-09-30 11:05:33 -07:00
Josh Blum
852f5c5f7b
dboard: better warnings for invalid IDs and invalid ID combinations
2010-09-28 10:21:11 -07:00
Josh Blum
d769ff8cc3
usrp: removed gain handler code (replaced by gain group)
2010-07-27 15:45:49 -07:00
Josh Blum
f1fe66acd4
usrp: changed opaque pointer implementation for dboard contructor args
2010-07-22 10:26:48 -07:00
Josh Blum
e3058c022e
uhd: added checking for xcvr dbids, added unknown dboard rx and tx constructors (for bad dbids or combinations)
2010-06-18 17:20:46 -07:00
Josh Blum
16335c1082
uhd: added dboard manager call to register xcvr board, implemented in xcvr dboard code
2010-06-18 16:39:45 -07:00
Josh Blum
33193a06c1
replaced the assert falses with an invalid code path exception
2010-06-02 15:49:53 -07:00
Josh Blum
39943a5b0c
Added support to set GPIO pins from dboard interface:
...
write gpio and set pin control (atr or gpio)
Added property to get dboard interface from the dboard obj.
2010-05-24 16:31:23 -07:00
Josh Blum
ba9708b786
minor fix to pass dboard ctor args with correct dbids
2010-05-03 11:03:59 -07:00
Josh Blum
4d5df2376b
Expanded the dboard id API to create dboard id types from strings and ints.
...
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.
2010-05-03 01:20:11 -07:00
Josh Blum
fd0d9b7dcc
Replaced the dboard base constructor args with an opaque type.
2010-05-02 16:03:46 -07:00
Josh Blum
4a19b43176
Cleaned up some dboard manager construction logic.
...
Moved the dboard base private stuff into a forward declaration.
2010-05-02 12:16:41 -07:00
Josh Blum
90ed2e3a80
prefixed the ASSERT_THROW macro with UHD for the sake of namespace
2010-04-26 14:42:32 -07:00
Josh Blum
1217b8d67c
Got eeprom read/write dboard ids working.
...
Moved named prop implementation into cpp,
and made named prop a struct (tuples are trouble).
2010-04-26 12:16:37 -07:00
Josh Blum
e2a9419385
renamed dboard interface to dboard iface, the lengthy name was getting to be a burden
2010-04-14 08:41:13 -07:00
Josh Blum
cbf2109e7e
controlling dboard clock enables from host
2010-04-12 19:37:38 -07:00
Josh Blum
389a72ef59
merged unit type and gpio bank for dboard interface into one type, expanded dboard clock config api
2010-04-12 16:52:18 -07:00
Josh Blum
ed5cb33eb4
renamed dict get key and value methods
2010-04-05 18:11:32 -07:00
Josh Blum
91ef18021c
moved props into usrp and multiple hpp files
2010-04-01 15:08:52 -07:00
Josh Blum
38248b816c
Refactor ATR part of dboard interface (and some constants).
...
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.
2010-03-31 17:43:20 -07:00
Josh Blum
f7867f4a51
removed masks for ddr and gpio write in dboard interface
2010-03-30 19:16:19 -07:00