Commit graph

839 commits

Author SHA1 Message Date
Martin Braun
21605b4e8b types: sensor_value_t can now be created from map
- Adds unit tests for sensor_value_t also
2017-12-22 15:04:02 -08:00
Mark Meserve
b43ab2705b N310: Updated controls for Mg daughterboard
- Adds most API calls
- Adds prop tree nodes
2017-12-22 15:04:01 -08:00
Mark Meserve
309a2f04e3 mg: General fixes
- Make DB probe-able
- Add RPC client
2017-12-22 15:04:00 -08:00
Martin Braun
ba11bf2d69 eiscat: Remove superfluous sr_write 2017-12-22 15:04:00 -08:00
Martin Braun
193aec708b eiscat: Change default spp to 3992 2017-12-22 15:04:00 -08:00
Martin Braun
195a1f45e5 eiscat: Proper neighbour support, added some FI pseudo-antenna values 2017-12-22 15:03:59 -08:00
Martin Braun
bf4ff21ce6 rfnoc: Added anonymous connections capability to graph 2017-12-22 15:03:59 -08:00
Martin Braun
34174c98f3 eiscat/mpm: Moved EISCAT full init sequence to UHD 2017-12-22 15:03:58 -08:00
Martin Braun
4b00bc4d69 eiscat: Numerous modification for testing beamforming 2017-12-22 15:03:58 -08:00
Martin Braun
0d10ac5faa eiscat: Antenna selection, gain setting 2017-12-22 15:03:53 -08:00
Martin Braun
451c07a831 eiscat: Enabled eiscat db to work with rfnoc_rx_to_file 2017-12-22 15:03:53 -08:00
Martin Braun
83a2ae4e94 uhd: Fixed ranges.hpp
It was accidentally broken during MPM development.
2017-12-22 15:03:53 -08:00
Martin Braun
a0ded71188 eiscat: Added skeleton for dboard driver support 2017-12-22 15:03:52 -08:00
Moritz Fischer
58510168d5 lib: usrp: magnesium: Stub out a radio_ctrl for magnesium
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Martin Braun <martin.braun@ettus.com>
2017-12-22 15:03:45 -08:00
Martin Braun
1a4348038d Initial commit for N3xx development.
- Creates mpm/ subdirectory
- First pass at hardware daemon/MPM
- New code for LMK04828, AD9371
- spidev integration

Contributions by:

Martin Braun <martin.braun@ettus.com>
Derek Kozel <derek.kozel@ettus.com>
Mark Meserve <mark.meserve@ni.com>
Andrej Rode <andrej.rode@ettus.com>
2017-12-22 15:03:44 -08:00
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
michael-west
298a13ac3d UBX: Add support for UBX-TDD 2017-12-07 13:32:26 -08:00
michael-west
c0057e35b8 UHD: Add eeprom info to dboard_base 2017-12-07 13:32:26 -08:00
Martin Braun
cc86cc5a6a rfnoc: Added TX LO APIs to radio_ctrl
Also added stubs in the default impl.

Reviewed-By: Ashish Chaudhari <ashish@ettus.com>
Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
2017-12-06 10:59:28 -08:00
Martin Braun
77adcffe06 multi_usrp: Expose APIs for TX LO controls
Reviewed-By: Ashish Chaudhari <ashish@ettus.com>
Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
2017-12-06 10:59:28 -08:00
Brent Stapleton
8a9da7c66a fpga load: adding component_file type
Adding struct that contains the data and metadata for a file that
defines a component.
2017-11-14 09:45:53 -08:00
Martin Braun
3b206caa2c fixup! uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM code 2017-11-13 09:43:52 -08:00
Martin Braun
ad1e0bc855 udp: Added option to query local address of socket 2017-10-04 14:58:41 -07:00
Martin Braun
83dde40090 uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM code
- uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method
  has no utility being a public API call, because the user never gets
  access to the appropriate I2C object (Minor API breakage)
- The central mboard_eeprom.cpp file was broken up and put into many
  smaller compilation units in every device's implementation folder.
- Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* ->
  N200_*)
- Removed the N000_* EEPROM code, because, well, you know, there's no
  such device
2017-09-29 10:50:56 -07:00
Martin Braun
1cd96ddefe uhd: Deprecating atomic.hpp and time_spec_t::get_system_time()
These APIs will be moved to a non-public API in the future and should no
longer be used in user applications.
2017-09-01 14:56:17 -07:00
Martin Braun
1074a68dd7 C API: Dboard EEPROM revision error handling fix
For invalid dboard revisions stored in the EEPROM, provide a better
error message.
2017-09-01 07:58:45 -07:00
Martin Braun
6667aa071e C API: Make uhd_get_last_error() thread-safe
The function was directly accessing the error message cache, bypassing
locks, and thus could be faulty if being called the same time as another
UHD component would update the error string.
2017-08-07 16:09:50 -07:00
Martin Braun
b5e43a27ab C API: Remove API calls that don't map to C++ calls
Specifically, remove set_tx_dc_offset() and set_tx_iq_balance() calls
that require doubles, and were given bools.
2017-08-07 16:09:50 -07:00
Moritz Fischer
ed1c64c819 transport: Added liberio_zero_copy transport implementation
This adds a zero copy transport using the liberio library.

Currently supported API version for liberio is 0.3, this might
still very much break, since the library is still in development.

So far nobody uses it UHD so we might as well merge it.

Signed-off-by: Alex Williams <alex.williams@ni.com>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2017-08-07 16:09:43 -07:00
Martin Braun
8223a28972 C API: Added logging macros 2017-07-21 09:24:26 -07:00
Martin Braun
fabed5f213 C API: Added constructor for empty sensor value handles' 2017-07-20 16:12:08 -07:00
Paul David
55ce8d93db X3xx: Added image loader support for reading FPGA images 2017-06-30 10:50:37 -07:00
sugandhagupta
c77bd0c46a docs: Fixed doxygen warnings 2017-06-29 15:17:06 -07:00
Andrej Rode
c33928d2bb utils: add set_thread_name API call, move thread_priority to thread 2017-06-29 13:43:05 -07:00
Martin Braun
47cdd6319c uhd: Replaced many lexical_cast with appropriate C++11 equivalents 2017-06-29 13:40:07 -07:00
Martin Braun
cb1649d201 uhd: tasks now use std::threads under the hood, and can't be interrupted
USRP1 and USRP2 used tasks that relied on Boost thread interruption
mechanisms. These were replaced with explicit atomics.
2017-06-28 15:54:39 -07:00
Ashish Chaudhari
ea2a5c6e67 x300: Added location info to FW ctrl error messages 2017-06-15 15:40:09 -07:00
Martin Braun
6270f79a56 utils: Added log_add to CMake for installation 2017-06-06 19:22:33 -07:00
Martin Braun
91dff1fbdd rfnoc: Backported GPIO controls on radio blocks 2017-05-24 10:41:23 -07:00
Paul David
2c0f109835 Types: Added equality/inquality operators to support Boost.Python additions
- Added to subdev_spec_pair_t
- Added to range_t
- Added tests for the inequalities
2017-05-23 17:14:32 -07:00
Martin Braun
412acb8537 log: Split add_logger() out of the main logging header
This way, C++11 features are not required to build with UHD headers
included.
2017-05-12 21:26:01 -07:00
Martin Braun
0f30ef70f0 log: Moved fastpath logging to its own thread 2017-04-24 14:19:10 -07:00
Martin Braun
c4da30c0ce log: Fixed various issues
- Made the task a regular thread
- Moved verbosity operator into lib
- Minor comments and indents and so on
2017-04-22 19:23:07 -07:00
Martin Braun
1b690d7ab4 log: Changed using to typedef to hopefully placate older compilers 2017-04-21 23:52:53 -07:00
Martin Braun
33e81c289f log: Added more comments and manual page 2017-04-20 13:38:41 -07:00
Andrej Rode
372228d2a6 utils: implement Ettus Logging API
- allows adding new loggers by using add_logger API call
 - existing loggers (console, file) can be disabled easily
 - number of logging sinks is not limited

Signed-off-by: Martin Braun <martin.braun@ettus.com>
2017-04-20 11:12:55 -07:00
Martin Braun
c936fed335 logging: UHD_HERE() now also prints current function (gcc only) 2017-04-17 16:14:46 -07:00
Andrej Rode
9a2652361a transports: Added get_local_port() method to UDP transports 2017-04-14 09:20:08 -07:00
Martin Braun
2790b51f30 Merge branch 'maint' 2017-04-13 15:33:03 -07:00
Derek Kozel
d1596dc40b rfnoc: Add set_command_time hook to radio block 2017-04-13 15:30:13 -07:00