aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Created a usrp2 interface class with the control, spi, peek/poke functionality.Josh Blum2010-04-131-105/+5
| | | | Its used in all the implementation level code
* moved spi transact to usrp2 impl, and removed spi readJosh Blum2010-04-121-1/+31
|
* simplified the usage of dboard, dsp, and mboard proxies.Josh Blum2010-04-051-3/+3
| | | | removed the dict structure for each, we are just going to have one.
* added 16 bit peek and poke, 16 bit register defs for gpios and atrsJosh Blum2010-04-051-6/+25
|
* 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-0/+24
| | | | | | 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.
* use find to discover devicesJosh Blum2010-03-301-4/+3
|
* 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
* get interface addresses on windowsJosh Blum2010-03-261-0/+3
|
* added interface address discoveryJosh Blum2010-03-261-2/+18
|
* merged usrp2 stuff from u1e branch (without merging the u1e stuff)Josh Blum2010-03-221-1/+3
|
* added install path for dll, fixed idiotic msvc error where making a vector ↵Josh Blum2010-03-191-1/+1
| | | | 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
* Replaced uses of wax:cast with the templated as method (like in boost ↵Josh Blum2010-03-151-1/+1
| | | | program options).
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-151-1/+4
| | | | Added static instance macro for lazy instantiation of static variables.
* Moved timeouts into the udp transports.Josh Blum2010-03-041-26/+13
| | | | | | 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....
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-031-2/+2
| | | | Added a packet size param to the vrt pack and unpack.
* Expanded the UDP api:Josh Blum2010-03-021-7/+11
| | | | | | | | 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-011-3/+12
| | | | | | 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.
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-251-1/+2
| | | | | 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
|
* Added IF data io handing within the usrp2 impl.Josh Blum2010-02-231-82/+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-221-4/+70
| | | | | 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-18/+16
|
* Made implementation class for the dboard manager.Josh Blum2010-02-221-2/+2
|
* Made the usrp2 impl into a device.Josh Blum2010-02-211-0/+113
| | | | | 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-211-0/+102
prefixed them with dboard_ and mboard_. And yes, the code is compiling.