aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
Commit message (Collapse)AuthorAgeFilesLines
* windows fix, forgot boost namespace for stdintJosh Blum2010-04-011-1/+1
|
* hardcoded values for enum props, added clock get/set for simple usrpJosh Blum2010-04-011-6/+11
|
* Moved usrp specific things into usrp directories and namespaces.Josh Blum2010-04-012-0/+333
| | | | | Renamed simple device to simple usrp (it was usrp specific). Moved tune helper to usrp dir for same reason.
* moved props into usrp and multiple hpp filesJosh Blum2010-04-017-3/+11
|
* use defined constants for the register addressesJosh Blum2010-04-015-107/+67
|
* added spi slaves to regs, use std copy for buffsJosh Blum2010-03-312-16/+22
|
* Moved dsp (rx and tx), time config, and clock config (mostly) into the host.Josh Blum2010-03-316-143/+231
|
* Refactor ATR part of dboard interface (and some constants).Josh Blum2010-03-318-166/+199
| | | | | | 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-303-12/+12
|
* use find to discover devicesJosh Blum2010-03-302-5/+4
|
* Added io type and otw type for describing types.Josh Blum2010-03-302-37/+35
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-292-6/+6
|
* use bb_rate and if_rate to handle dxc io ratesJosh Blum2010-03-291-4/+14
|
* 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-276-23/+25
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-277-10/+13
| | | | | | | 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
* get interface addresses on windowsJosh Blum2010-03-261-0/+3
|
* Merge branch 'addrs' of git@ettus.sourcerepo.com:ettus/uhd into timingJosh Blum2010-03-262-2/+20
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_impl.hpp
| * added interface address discoveryJosh Blum2010-03-262-2/+19
| |
* | Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-255-87/+66
| | | | | | | | | | | | | | | | | | 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.
* | mess with that usrp2 io loop unroll, also py app gets installed executableJosh Blum2010-03-241-22/+23
|/
* merged usrp2 stuff from u1e branch (without merging the u1e stuff)Josh Blum2010-03-222-3/+3
|
* massaged some of the dboard callsJosh Blum2010-03-223-14/+14
|
* Moved typedefs from props.hpp into new file types.hpp.Josh Blum2010-03-213-51/+35
| | | | | | | 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.
* added install path for dll, fixed idiotic msvc error where making a vector ↵Josh Blum2010-03-195-31/+32
| | | | with proxies crashes the app, seems to be ok with the sptr fix, in other good news, discover usrps works in my vm for the usrp2
* define namespace hack when in c compilingJosh Blum2010-03-181-0/+1
|
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-176-109/+121
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* changes to get tuning workingJosh Blum2010-03-162-3/+7
|
* reimplemented dict to preserve order of insertionJosh Blum2010-03-161-2/+2
|
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-167-82/+127
| | | | | 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-155-36/+36
| | | | program options).
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-153-30/+36
| | | | Added static instance macro for lazy instantiation of static variables.
* handle getting and setting mac and ip addr from the hostJosh Blum2010-03-121-2/+67
|
* Removed freq min and max and gain min, max, and step...Josh Blum2010-03-122-35/+22
| | | | | 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-35/+52
| | | | | | 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-104-130/+279
| | | | | | 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-19/+55
| | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs...
* Moved timeouts into the udp transports.Josh Blum2010-03-043-37/+25
| | | | | | 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....
* Some tweaks and changes to io impl that fix segfaults.Josh Blum2010-03-031-7/+16
| | | | Seems to work now!
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-032-10/+16
| | | | | | 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.
* memcpy size fix, change to some send logicJosh Blum2010-03-031-3/+4
|
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-034-77/+61
| | | | Added a packet size param to the vrt pack and unpack.
* Expanded the UDP api:Josh Blum2010-03-023-138/+106
| | | | | | | | 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.
* The net common is too slow in usrp2 firmware to figure out if its vrt data.Josh Blum2010-03-023-12/+13
| | | | | Added a custom function to tell if a packet is vrt data, seems to be feeding fast enough at this rate... Fixed some buffer size calculation logic.
* Send the number of samples per datagram over the control.Josh Blum2010-03-016-83/+128
| | | | | | 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-014-29/+73
|
* fix for io typesJosh Blum2010-02-261-6/+6
|
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-252-1/+36
| | | | | Worked on the device make and discovery to fix certain problems. Added node param to discover usrps for usrp1e, made addr optional.
* use a single addr param for the usrp2Josh Blum2010-02-251-2/+2
|
* vrt packet count fixJosh Blum2010-02-231-1/+1
|