summaryrefslogtreecommitdiffstats
path: root/host/include
Commit message (Collapse)AuthorAgeFilesLines
* removed masks for ddr and gpio write in dboard interfaceJosh Blum2010-03-301-4/+2
|
* use find to discover devicesJosh Blum2010-03-303-13/+11
|
* Added io type and otw type for describing types.Josh Blum2010-03-305-13/+147
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-293-12/+67
|
* use bb_rate and if_rate to handle dxc io ratesJosh Blum2010-03-291-2/+2
|
* Added tune helper to utils.Josh Blum2010-03-294-4/+84
| | | | | | | 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.
* added some msvc notes, fixed line endingsJosh Blum2010-03-283-75/+80
|
* minor fix to wax test to get unit testing working on windows, added missing ↵Josh Blum2010-03-281-0/+2
| | | | config include to static.hpp to compile under windows
* refactored types.hpp into types directoryJosh Blum2010-03-2716-229/+349
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-276-65/+173
| | | | | | | 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
* library loading on windows, status message tweaks, warning tweaksJosh Blum2010-03-261-1/+8
|
* Merge branch 'addrs' of git@ettus.sourcerepo.com:ettus/uhd into timingJosh Blum2010-03-265-3/+51
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_impl.hpp
| * added interface address discoveryJosh Blum2010-03-265-3/+51
| |
* | Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-254-21/+47
|/ | | | | | | | | a zero length command (now, no chain) used to stop the streaming. Now it seems to do the reverse... must investigate. Made all clock configuration into enums. The strings were painful and there cant be that many variations that enums cant cover them. The enums will make more sense to developers than mystery strings.
* Reorganized apps dir into utils and examples dir.Josh Blum2010-03-233-3/+3
| | | | The files get installed into the pkg data directory.
* Added example app to receive timed samples.Josh Blum2010-03-231-0/+7
| | | | | Added useful calls to simple device. Fixed vrt frac time usage (wrong word).
* massaged some of the dboard callsJosh Blum2010-03-222-4/+3
|
* Moved typedefs from props.hpp into new file types.hpp.Josh Blum2010-03-216-50/+111
| | | | | | | Created structs to replace range tuples, and clock config struct. Merged clock config props into one property using config struct. Added templated dict construction to use the assign::map_list_of. Added gcc flag to set visibility to hidden and use the api macro.
* compiling under msvc (no idea if it works)Josh Blum2010-03-182-1/+1
|
* created config.hpp to handle export macros, added exports to public api stuffJosh Blum2010-03-1820-58/+146
|
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-176-26/+25
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* reimplemented dict to preserve order of insertionJosh Blum2010-03-161-25/+18
|
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-161-4/+3
| | | | | This is used to calculate and set the ddc and duc muxes. Also, minor fix for burning addrs (wrong pointer....)
* Replaced uses of wax:cast with the templated as method (like in boost ↵Josh Blum2010-03-153-31/+16
| | | | program options).
* Ability to burn mac addr and ip addr to usrp2 (over ip/udp for now).Josh Blum2010-03-151-2/+12
| | | | Added firmware support and usrp2 burner host app.
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-154-4/+34
| | | | Added static instance macro for lazy instantiation of static variables.
* Removed freq min and max and gain min, max, and step...Josh Blum2010-03-124-29/+17
| | | | | 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-112-39/+36
| | | | | | 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-105-9/+16
| | | | | | 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 simple device to handle wrapping general properties up into simple api.Josh Blum2010-03-105-76/+180
| | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs...
* Moved timeouts into the udp transports.Josh Blum2010-03-043-4/+15
| | | | | | Simplified the fast path checking in the fw, but it turns out this was not the issue. Fixed some bad bit operations with the 16sc words (dont forget sign extension). Added some more documentation to the headers....
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-033-20/+46
| | | | | | The rx metadata has fragment flags and the tx metatdata has burst flags. Made the io impl for usrp2 rx routine fill in the rx metatdata fragment flag. Added device documentation for send and recv in regards to fragmentation.
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-031-0/+4
| | | | Added a packet size param to the vrt pack and unpack.
* Added a vrt library to pack and unpack from metadata.Josh Blum2010-03-022-0/+67
| | | | Added a vrt test app that packs and unpacks the data.
* Expanded the UDP api:Josh Blum2010-03-025-23/+159
| | | | | | | | We can make simple udp transports for discovery and control. We can support a udp zero copy transport (currently just asio). Reworked the io_impl for usrp2 to work with the zero copy api. So far, all of this untested other than compiling. A cut-down vrt library is in the works to simplify the io impl.
* Send the number of samples per datagram over the control.Josh Blum2010-03-012-2/+8
| | | | | | Worked on the io impl for usrp2 (added loop unrolls and 32 bit buffers). Added some vrt rx constants to the fw common used by host and fw. Removed the MTU prop and added a general device prop for num samples.
* Recv noise with uhd.Josh Blum2010-03-012-6/+6
|
* removed empty uhd.hpp and cpp filesJosh Blum2010-02-262-29/+0
|
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-255-8/+55
| | | | | Worked on the device make and discovery to fix certain problems. Added node param to discover usrps for usrp1e, made addr optional.
* Added IF data io handing within the usrp2 impl.Josh Blum2010-02-235-65/+13
| | | | | It packs and unpacks vrt headers/metadata. NOT YET TESTED IN ANY WAY...
* Work on the io interface for a device (and some implementation work in usrp2).Josh Blum2010-02-224-7/+91
| | | | | Modified the udp transport to reflect some of these changes. Got the fw compiling again, and it will not set data to true for small payloads (configuration ones).
* Moved the udp implementation guts into the cpp fileJosh Blum2010-02-221-16/+5
|
* Made implementation class for the dboard manager.Josh Blum2010-02-221-20/+15
|
* Made the usrp2 impl into a device.Josh Blum2010-02-214-112/+9
| | | | | Removed the usrp device wrapper and usrp2 cpp file outside of the usrp2 lib dir. Also removed the mboard base files since we wont be needing them.
* Moved lib and include contents of dboard and mboard one directory up and ↵Josh Blum2010-02-2110-113/+68
| | | | | | prefixed them with dboard_ and mboard_. And yes, the code is compiling.
* DUC and DDC control packets OTWJosh Blum2010-02-191-9/+9
|
* Added special case for empty dboard slot (none id 0xffff)Josh Blum2010-02-182-4/+10
| | | | | | Added error handling in the dboard base classes for mishandling the none id. Added better to string function for the dboard ids. Added get methods for dboard classes to get their ids.
* Added control for usrp2 aux dac and adc control.Josh Blum2010-02-171-2/+10
|
* Added i2c control transactions in fw and hostJosh Blum2010-02-171-2/+2
|
* Worked out spi api for the dboard interface.Josh Blum2010-02-173-55/+40
| | | | Created usrp2 spi transaction control on host and fw