summaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
* bit of io workJosh Blum2010-03-222-16/+35
|
* filled in more skeleton code, filled in dboard interface spi and i2c with ↵Josh Blum2010-03-228-39/+172
| | | | ioctls, added file descriptor opening, and checking for usrp1 kernel header
* Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhd into u1e_uhdJosh Blum2010-03-2212-127/+289
|\ | | | | | | | | Conflicts: host/include/uhd/usrp/dboard_id.hpp
| * Added ability to load modules at runtimeJosh Blum2010-03-213-2/+137
| | | | | | | | | | (specified by environment variable path). Added a demo test module as well.
| * Moved typedefs from props.hpp into new file types.hpp.Josh Blum2010-03-218-92/+115
| | | | | | | | | | | | | | 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-196-33/+35
| | | | | | | | 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
| * created config.hpp to handle export macros, added exports to public api stuffJosh Blum2010-03-181-0/+2
| |
* | added usrp1e implementation skeleton, began filling it in...Josh Blum2010-03-187-0/+450
| |
* | Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhd into u1e_uhdJosh Blum2010-03-1817-216/+292
|\|
| * 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-1712-132/+150
| | | | | | | | 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-163-5/+17
| |
| * Added recovery app to use raw socket to burn known ip addr.Josh Blum2010-03-162-3/+3
| | | | | | | | Fixed up fw so the device can reply after new addrs are set.
| * 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....)
* | Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhd into u1e_uhdJosh Blum2010-03-1522-682/+1710
|\| | | | | | | | | | | Conflicts: host/apps/CMakeLists.txt host/lib/usrp/usrp2/usrp2_impl.cpp
| * Replaced uses of wax:cast with the templated as method (like in boost ↵Josh Blum2010-03-158-69/+69
| | | | | | | | program options).
| * Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-154-75/+83
| | | | | | | | 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-124-129/+82
| | | | | | | | | | 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-115-155/+221
| | | | | | | | | | | | 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-106-133/+291
| | | | | | | | | | | | 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-108-19/+400
| | | | | | | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs...
| * Moved timeouts into the udp transports.Josh Blum2010-03-045-41/+89
| | | | | | | | | | | | 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-035-18/+62
| | | | | | | | | | | | 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-035-80/+68
| | | | | | | | 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/+105
| | | | | | | | Added a vrt test app that packs and unpacks the data.
| * Expanded the UDP api:Josh Blum2010-03-027-237/+364
| | | | | | | | | | | | | | | | 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
| |
| * removed empty uhd.hpp and cpp filesJosh Blum2010-02-262-21/+0
| |
* | made app to load usrp1e fpga images, and tested it to be workingJosh Blum2010-02-261-3/+3
| |
* | added usrp1e fpga loaderJosh Blum2010-02-253-5/+282
| |
* | added usrp1e conditional compilation, and checking of device node (aka file ↵Josh Blum2010-02-254-4/+103
|/ | | | for now)
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-255-20/+135
| | | | | 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-252-7/+4
|
* vrt packet count fixJosh Blum2010-02-231-1/+1
|
* Put fast path code (rx setup) back into txrx.c.Josh Blum2010-02-231-19/+0
| | | | Store the fast path addrs in the udp data handler.
* Added IF data io handing within the usrp2 impl.Josh Blum2010-02-236-125/+286
| | | | | 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-223-14/+84
| | | | | 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).
* added set nice gpio pins to manager on init and deconstructJosh Blum2010-02-221-9/+18
|
* Moved the udp implementation guts into the cpp fileJosh Blum2010-02-222-23/+56
|
* Made implementation class for the dboard manager.Josh Blum2010-02-223-12/+54
|
* Made the usrp2 impl into a device.Josh Blum2010-02-218-256/+139
| | | | | 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-2119-140/+139
| | | | | | prefixed them with dboard_ and mboard_. And yes, the code is compiling.
* DDC enable with stream at control OTWJosh Blum2010-02-194-17/+46
|