Commit graph

397 commits

Author SHA1 Message Date
Josh Blum
400a8542fb uhd: work on the backend for a logging facility 2011-05-04 14:34:25 -07:00
Josh Blum
b4fc0d61bb usrp2: added REF_MIMO and PPS_MIMO for USRP2 clock config
Basically, one can tell a MIMO master to lock to MIMO ref and/or time.
This is an alternative to the mimo_mode=slave/master device args.

When using this alternative, one should always set the mimo_mode to maser.
When in master mode, any clock config settings can be used.
When in slave mode, the clock config setting are forced to MIMO_REF/PPS
2011-05-03 13:35:15 -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
Nick Foster
a4aa89ed5d USRP2: Added GPS time support to the sensors interface. gps_time sensor returns epoch time as time_t. Untested. 2011-04-29 09:58:54 -07:00
Josh Blum
7450a6583f usrp: support for grand daughter board eeprom 2011-04-26 14:15:16 -07:00
Josh Blum
f5390a1892 uhd: use int() casts on enum constants to help swig2 parse it as int 2011-04-20 11:50:04 -07:00
Josh Blum
7cd216e967 uhd: specify msvc for implementations known only to work on msvc 2011-04-04 13:10:06 -07:00
Josh Blum
592af4a86b uhd: disable visibility=hidden on non-dll platforms (cygwin) 2011-04-01 10:28:58 -07:00
Josh Blum
95b966a599 uhd: update copyright headers with automated script 2011-03-23 18:48:30 -07:00
Josh Blum
a963caab9b uhd: setup cpack components for component based installers 2011-03-21 16:40:21 -07:00
Josh Blum
2183c502ee uhd: added comments/documentation to clock_config 2011-03-21 10:44:46 -07:00
Josh Blum
e460ae41da usrp: dboard iface can inherit from i2c iface 2011-03-17 17:50:18 -07:00
Josh Blum
fb65f85e0f uhd: whoops, spi convenience functions have 32 bit data 2011-03-17 17:41:12 -07:00
Josh Blum
928e3a7d68 uhd: fix safe call header cuz it was moved on the next branch 2011-03-10 14:45:44 -08:00
Josh Blum
fd35b0fdfd Merge branch 'master' into next 2011-03-10 14:44:56 -08:00
Josh Blum
4c7cc6b135 uhd: fixed include in safe call, added quotes for SET_SOURCE_FILES_PROPERTIES 2011-03-10 14:42:33 -08:00
Josh Blum
7d140b0237 usrp2: created safe call macro and handle usrp2 ~mboard throwing 2011-03-10 12:52:13 -08:00
Josh Blum
e2847fd99c usrp2: created safe call macro and handle usrp2 ~mboard throwing 2011-03-10 12:49:05 -08:00
Josh Blum
942c69b710 Merge branch 'master' into next 2011-03-03 17:02:15 -08:00
Josh Blum
d2556f45c9 uhd: removed mb_eeprom from mboard iface (already exposed in property)
also fixed some warnings with unused parameters
2011-03-03 16:39:16 -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
Nick Foster
1b63cd2560 Generalized mboard_iface and added a SPI convenience class a la I2C 2011-03-03 10:50:45 -08:00
Nick Foster
77319389b0 Generalized the mboard_iface into mboard_iface.hpp and made each of the USRP devices inherit from it. 2011-03-01 18:11:08 -08:00
Josh Blum
eef4216ca7 uhd: sensors header fix to make swig happy 2011-02-25 15:04:37 -08:00
Josh Blum
b99c655d2a uhd: sensors header fix to make swig happy 2011-02-25 15:03:22 -08: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
20a524d1a0 uhd: moved exception to top level include 2011-02-24 14:18:52 -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
d588314b6f Merge branch 'usrp2_dual_dsp' into next
Conflicts:
	host/include/uhd/usrp/mboard_props.hpp
2011-02-24 11:00:49 -08:00
Josh Blum
8ce6a4853e Merge branch 'usrp2_fw_clock_cleanup' into usrp2_dual_dsp 2011-02-22 12:11:41 -08:00
Josh Blum
76ebda895c uhd: switch dboard id prop to whole eeprom struct
modified implementation code and burner app

also made dboard manager use safe constructor that will use none ids if construction fails
2011-02-22 11:55:54 -08:00
Josh Blum
557d62ee64 Merge branch 'sensors' into dboard_serial 2011-02-22 10:59:21 -08:00
Josh Blum
de35e125bc uhd: simplify dboard eeprom code by passing iface into load/store 2011-02-22 10:57:53 -08:00
Josh Blum
814a5c40c6 uhd: added 9 byte serial to dboard eeprom class 2011-02-22 10:19:09 -08:00
Josh Blum
a8bb5ec900 uhd: replace header checks in cmake files with more robust compile checks for features
implemented different ifdefs in the cpp files
2011-02-21 19:03:13 -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
e128948a96 usrp: support for multiple dsps in props and implemented in usrp1
usrp1 previously had 1 rx and 1 tx dsp with multiple freq params,
it now has N and M dsps each with one freq param.
This is more consistent with the multi-dsp model.
The hack here is to only apply stream commands and sample rate changes to dsp0.
2011-02-17 18:55:55 -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
1628434a32 uhd: work on multiple dsp in host wrapper 2011-02-17 16:44:31 -08:00
Josh Blum
2af3e5c49d uhd: tweaks for windows msvc compiler warnings and errors 2011-02-16 17:19:54 -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
9de6f36bc5 usrp: implement sensors in all the dboards, deprecated read rssi and get lo locked 2011-02-11 18:43:20 -08:00
Josh Blum
e4b45cca1b usrp: added get sensors api to multi usrp for rx/tx subdevs and mboard 2011-02-11 18:07:24 -08:00
Josh Blum
ad31ba63c1 usrp: added sensors props to mboard and subdev (removed stupid = 'char' thing) 2011-02-11 17:31:59 -08:00
Josh Blum
4d6ae6a8d3 uhd: third iteration of the reference vector
Hope we get it right this time.
Reference vector now has its own pointer for the pointer/size 1 constuction case.
In this case, the memory is initialized to the value of its own pointer.
The previous two iterations were functionally wrong because it takes two pointers and size to accomplish this.
2011-02-11 12:35:48 -08:00
Josh Blum
24c626a147 usrp: added mboard param to get time now and last pps 2011-02-11 10:29:59 -08:00
Josh Blum
4addf2a486 uhd: reference vector fix revealed when building w/ debug 2011-02-10 16:16:40 -08:00