aboutsummaryrefslogtreecommitdiffstats
path: root/host/test
Commit message (Collapse)AuthorAgeFilesLines
* Removed the boost exception stuff, replaced it with macro that formats the ↵Josh Blum2010-05-051-3/+11
| | | | | | | throw site information. SWIG didnt handle the boost exception stuff, even with custom exception wrappers. Now the boost requirement can be lowered back to 3.6.
* Expanded the dboard id API to create dboard id types from strings and ints.Josh Blum2010-05-031-2/+15
| | | | | | 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.
* Code tweaks and added unit test for dict and error message.Josh Blum2010-05-013-0/+114
|
* Renamed the prop set/get error macros so they make sense for not-implemented ↵Josh Blum2010-04-261-2/+2
| | | | properties.
* Work on exceptions.Josh Blum2010-04-251-3/+3
| | | | | Added props exception macro to make the set/get prop switch statements easier. Made use of boost throw exception macro for throw-site information in throw assert.
* Created args string contructor for device address.Josh Blum2010-04-201-1/+1
| | | | | Using the args string for the find devices app. Added documentation to simple usrp.
* converted timespec to use nanoseconds for fractional partJosh Blum2010-04-081-5/+7
|
* renamed dict get key and value methodsJosh Blum2010-04-052-5/+5
|
* moved props into usrp and multiple hpp filesJosh Blum2010-04-011-1/+1
|
* unit test for device addrJosh Blum2010-03-291-0/+38
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-291-1/+1
|
* 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.
* minor fix to wax test to get unit testing working on windows, added missing ↵Josh Blum2010-03-282-9/+14
| | | | config include to static.hpp to compile under windows
* refactored types.hpp into types directoryJosh Blum2010-03-272-13/+14
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-271-2/+2
| | | | | | | 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
* Added ability to load modules at runtimeJosh Blum2010-03-212-3/+34
| | | | | (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-211-6/+5
| | | | | | | 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.
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-172-2/+2
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* Replaced uses of wax:cast with the templated as method (like in boost ↵Josh Blum2010-03-152-13/+14
| | | | program options).
* Removed freq min and max and gain min, max, and step...Josh Blum2010-03-121-48/+32
| | | | | 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-111-4/+14
| | | | | | 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.
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-031-6/+6
| | | | | | 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/+3
| | | | 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/+98
| | | | Added a vrt test app that packs and unpacks the data.
* Worked out spi api for the dboard interface.Josh Blum2010-02-173-106/+0
| | | | Created usrp2 spi transaction control on host and fw
* moved host code into host directory for clean (unambiguous) top levelJosh Blum2010-02-177-0/+391