Commit graph

28 commits

Author SHA1 Message Date
Josh Blum
9734a74366 uhd: various tweaks to log and msg, replaced a few remaining stdio 2011-05-04 20:40:36 -07:00
Josh Blum
805da3ef3d usrp-e100: removed stdio prints from implementation 2011-05-04 19:13:33 -07:00
Josh Blum
4335003e2e uhd: added scoped lock to device find and make (for thread safety) 2011-04-26 12:04:07 -07:00
Josh Blum
95b966a599 uhd: update copyright headers with automated script 2011-03-23 18:48:30 -07:00
Josh Blum
1526889803 uhd: switch algorithm namespace to uhd 2011-02-24 17:28:10 -08:00
Josh Blum
4357f5d3c0 uhd: replaced instanced of std::exception with the uhd exceptions 2011-02-24 16:35:29 -08:00
Josh Blum
16f08844d7 uhd: renamed the assert header to assert has
only the assert has implementation is in this header

uhd assert throw moved to the exception header

updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
4066b1f8fd uhd: added a bunch of custom exceptions, not used yet 2011-02-24 14:07:11 -08:00
Josh Blum
348b5b12ad usb: catch open errors and print message, device: catch exceptions at discovery time 2010-10-01 11:54:22 -07:00
Josh Blum
bbe7dd1c8f uhd: fix find-replace accident asize_t 2010-07-26 22:47:06 -07:00
Josh Blum
0c6fbdfe37 work on algorithms and documentation 2010-06-14 10:44:50 -07:00
Josh Blum
4d5df2376b Expanded the dboard id API to create dboard id types from strings and ints.
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.
2010-05-03 01:20:11 -07:00
Josh Blum
04dae4bf6b setting size of buffers from device args 2010-04-27 15:20:53 -07:00
Josh Blum
90ed2e3a80 prefixed the ASSERT_THROW macro with UHD for the sake of namespace 2010-04-26 14:42:32 -07:00
Josh Blum
ed5cb33eb4 renamed dict get key and value methods 2010-04-05 18:11:32 -07:00
Josh Blum
281307833c use find to discover devices 2010-03-30 15:11:23 -07:00
Josh Blum
1295df8cbb Added utility methods to device addr and mac addr to make them more usable. 2010-03-29 12:58:06 -07:00
Josh Blum
b71d0cbea9 refactored types.hpp into types directory 2010-03-27 14:27:55 -07:00
Josh Blum
52df9afd67 Split utils.hpp into subdir with multiple files.
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
2010-03-27 01:02:58 -07:00
Josh Blum
69aaffa6d8 got uhd almost compiling in windowze. figured out special flags. also had to use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings 2010-03-17 17:55:20 -08:00
Josh Blum
6458eca954 Added recovery app to use raw socket to burn known ip addr.
Fixed up fw so the device can reply after new addrs are set.
2010-03-16 17:54:54 -07:00
Josh Blum
7590f187d0 Device sub classes can register themselves. Simplifies device.cpp internals.
Added static instance macro for lazy instantiation of static variables.
2010-03-15 12:15:33 -07:00
Josh Blum
daed43a8a8 Cleaned up the gain handler (thing that gets and sets wildcard gains)
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.
2010-03-11 18:37:34 -08:00
Josh Blum
5715b2c493 Created empty usrp1e cpp file for the case when headers are not found.
Worked on the device make and discovery to fix certain problems.
Added node param to discover usrps for usrp1e, made addr optional.
2010-02-25 18:32:32 -08:00
Josh Blum
3571f65a11 use a single addr param for the usrp2 2010-02-25 12:48:51 -08:00
Josh Blum
3e5898fa11 Made the usrp2 impl into a device.
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.
2010-02-21 22:15:30 -08:00
Josh Blum
add5d32f9b Moved lib and include contents of dboard and mboard one directory up and prefixed them with dboard_ and mboard_.
And yes, the code is compiling.
2010-02-21 12:59:41 -08:00
Josh Blum
eb7e709b7a moved host code into host directory for clean (unambiguous) top level 2010-02-17 00:41:38 -08:00
Renamed from lib/device.cpp (Browse further)