Nicholas Corgan
e3826b1a67
Restoring compatibility with CMake 2.6
...
* The UNSET command didn't exist back then, but using SET with no value does the same thing
* CMake 2.6 doesn't like nested parantheses in IF statements, so tweak IF/ELSE statements
2014-08-14 06:45:53 -07:00
Martin Braun
1f61316536
uhd: Added pp routines for error codes and rx metadata
2014-04-10 21:25:53 +02:00
Ben Hilburn
9e47ad607b
Squashed merge of Coverity fixes.
2013-11-27 12:11:23 -08:00
Josh Blum
56f391ad64
uhd: wb_iface is now a public interface
2013-10-04 16:49:32 -07:00
Josh Blum
1c391767dd
Merge branch 'maint'
2013-08-06 18:11:54 -07:00
Josh Blum
8a77ed3a20
uhd: time spec fix from last commit
2013-08-06 18:11:31 -07:00
Josh Blum
aa5e5d23c8
Merge branch 'maint'
2013-07-31 11:07:26 -07:00
Josh Blum
a85fae0b35
uhd: time spec rounding fixes
2013-07-31 11:07:01 -07:00
Josh Blum
0aeac60394
uhd: allow for 16 bit i2c and eeprom addrs
2013-07-24 17:46:04 -07:00
Josh Blum
a7153fecdb
uhd: added virtual destructors for several interface classes
2013-07-15 15:20:56 -07:00
Josh Blum
cb3f554658
uhd: fixes for time_spec's to_ticks and from_ticks calls
...
The fixes address rouding issues when the tick_rate is a non-integer.
Conflicts:
host/tests/time_spec_test.cpp
2013-04-12 11:20:10 -07:00
Josh Blum
d61c9b29b3
uhd: make range_t a lightweight object
2012-07-04 13:40:19 -07:00
Josh Blum
dfaf1f930c
uhd: fixed some compile warnings for msvc
2012-02-28 13:20:58 -08:00
Josh Blum
df94652301
uhd: inline time spec accessors for minor improvement
2012-02-13 19:22:26 -08:00
Josh Blum
1151000340
uhd: various tweaks for compiler warns and valgrind
2012-02-09 17:59:48 -08:00
Josh Blum
5eec31fab4
dsp rework: implement 64 bit ticks, no seconds
2012-02-06 16:40:42 -08:00
Josh Blum
5b06adb791
uhd: branch-less round for time spec convert to ticks
...
This fixes valgrind warnings with branching on unit'd values,
and possible exceptions thrown on bad unit'd values.
As it turns out, sometimes tick_rate was passed unit'd,
however, the value calculated was not of consequence.
Also, iround was overkill because we dont need to handle
negative tick rates or frac seconds, or bounds checking.
2012-01-31 14:44:35 -08:00
Josh Blum
9369259177
usrp: deprecated clock config, added time/clock source calls
2011-11-03 20:37:12 -07:00
Josh Blum
8c182d75e7
uhd: removed unsed interfaces, deprecated otw and io type
2011-11-03 20:37:10 -07:00
Josh Blum
c086dd883e
uhd: allow device addr (from string) to parse empty values
2011-11-03 19:28:43 -07:00
Josh Blum
b20c9fc836
uhd: separate_device_addr, copy globals across entire address
2011-09-15 13:10:02 -07:00
Josh Blum
be1be806d2
uhd: also normalise the time spec when adding/subtracting (added unit test)
2011-08-30 17:24:40 -07:00
Josh Blum
465431b1a3
uhd: fix for dealing with negative wrapping in time_spec
2011-08-29 09:55:22 -07:00
Josh Blum
4888233252
uhd: re-work to make the properties easier to use
2011-06-28 11:11:04 -07:00
Josh Blum
5aab802b60
usrp: populate a tree from a subdev
2011-06-27 20:26:52 -07:00
Josh Blum
7f01386f63
uhd: replaced warning post with calls to UHD_MSG(warning)
...
The message api can support warnings, error, and status messages.
The default handler is to stdio, but the user can change this.
2011-05-04 18:36:10 -07:00
Josh Blum
4b18ab8492
uhd: fixed typo in tune request/result inter_freq -> rf_freq
...
For some reason, the code said intermediate frequency,
however, it was used and treated as RF frequency.
It was always intended to be the RF frequency,
but was misnamed due to a cognitive distortion.
2011-05-01 09:38:30 -07:00
Josh Blum
fb65f85e0f
uhd: whoops, spi convenience functions have 32 bit data
2011-03-17 17:41:12 -07:00
Josh Blum
942c69b710
Merge branch 'master' into next
2011-03-03 17:02:15 -08:00
Josh Blum
98028b366f
Merge branch 'mb_iface' into next
...
Conflicts:
host/lib/usrp/usrp2/usrp2_iface.hpp
2011-03-03 16:28:26 -08:00
Jason Abele
456b90793b
Fixes inverted logic in sensors bool interface
2011-03-03 13:58:14 -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
20a524d1a0
uhd: moved exception to top level include
2011-02-24 14:18:52 -08:00
Josh Blum
557d62ee64
Merge branch 'sensors' into dboard_serial
2011-02-22 10:59:21 -08:00
Josh Blum
4363876773
uhd: moved indexed device addr routines into api
...
implement in usrp2, also combine non specified args into addr
when initializing the mboard so we can use a single addr
2011-02-21 11:01:05 -08:00
Josh Blum
dd75aa585a
Merge branch 'sensors' into usrp2_dual_dsp
...
Conflicts:
host/include/uhd/usrp/dsp_props.hpp
host/include/uhd/usrp/mboard_props.hpp
2011-02-17 18:55:13 -08:00
Josh Blum
8b0fbfcd12
uhd: use source properties to set flags and defs not globally, but only for the source
2011-02-17 12:35:01 -08:00
Josh Blum
4613f454c7
uhd: added to_<type> calls to sensors to make it easy
2011-02-11 21:52:13 -08:00
Josh Blum
68e4a34d43
uhd: tweak for io type size table code
2011-02-11 10:05:37 -08:00
Josh Blum
3e7284014c
uhd: misc speedups w/ look up tables
...
use a look up table for io type size (in the case its used in the fast-path)
move the static const pred table in vrt unpacker to the global level,
for some reason this was incurring a malloc (perhaps because there were 2 tables).
2011-02-10 19:01:32 -08:00
Josh Blum
6c145193a9
uhd: various performance tweaks
2011-02-04 22:49:23 -08:00
Josh Blum
43b19815fe
uhd: added io type and conversion for complex64 (its not really useful)
2011-02-03 16:45:34 -08:00
Josh Blum
d46058d75c
uhd: simplify the mach time usage based on example from web
2011-01-31 15:25:13 -08:00
Josh Blum
a7d7e0d289
uhd: use time spec get_system_time to simplify soft time control
2011-01-30 23:16:43 -08:00
Josh Blum
7ffc73fe67
uhd: implemented high-res get time in time_spec_t
...
clock_gettime for linux,
mach_absolute_time for macos,
QueryPerformanceFrequency for windows,
and fallback to boost microsec_clock
2011-01-30 19:08:30 -08:00
Josh Blum
6c03f7e74b
uhd: use internal() to default clock configs, dont use PPS_INT, theres no such thing
2011-01-11 18:07:27 -08:00
Josh Blum
f879a50989
uhd: create sensor value from string
2011-01-07 10:03:46 -08:00
Josh Blum
771b5cebda
uhd: integrated boost split or tokenizer into source files, remove string split from algorithms header
2011-01-06 15:38:56 -08:00
Josh Blum
3d02c07470
uhd: fix copyright years on new files
2011-01-06 12:56:12 -08:00