Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | logging: Fix UHD_LOG_FILE cmake var | Martin Braun | 2018-04-10 | 1 | -41/+54 |
| | | | | | | | | | - Fixes: cmake -DUHD_LOG_FILE wasn't respected - Fixes: UHD_LOG_FILE and UHD_FILE_LOG_LEVEL had to both be set for either to take effect - Fixes: Use of unnecessary boost::make_shared<> - Also factored out setting up console- and file logger into their own locations in an attempt to improve readability | ||||
* | lib: move atomic.hpp and system_time.hpp to uhdlib | Martin Braun | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | lib: Fixing config file path for some Windows builds | Andrew Lynch | 2018-03-28 | 2 | -6/+1 |
| | |||||
* | uhd: Move internal headers to uhdlib/ | Martin Braun | 2018-03-14 | 6 | -284/+2 |
| | | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> | ||||
* | uhd: Moved get_system_time outside of public API | Martin Braun | 2018-03-05 | 2 | -0/+117 |
| | | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space. | ||||
* | lib: Add 'prefs' API | Martin Braun | 2018-02-20 | 2 | -0/+108 |
| | | | | | | | | | | | | | This defines and reads configuration files that can be used to customize UHD's behaviour. On Unix systems, they default to: /etc/uhd/uhd.conf $APPDATA/.uhd/uhd.conf On Windows systems, it will look in: %ProgramData%/uhd/uhd.conf %AppData%/.uhd/uhd.conf | ||||
* | lib: Add path_expandvars() internal API call | Martin Braun | 2018-02-20 | 3 | -0/+48 |
| | |||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 19 | -18/+31 |
| | | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0. | ||||
* | rfnoc: Factored out FPGA compat check | Martin Braun | 2018-02-19 | 2 | -0/+115 |
| | | | | | - Applied changes to DUC and DDC blocks - Fixed minor formatting | ||||
* | lib: Add config_parser class | Martin Braun | 2018-02-01 | 2 | -0/+60 |
| | | | | | | | This class is not publicly exported. It is meant to read config files in the INI format. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | logging: Minor refactoring, skip empty log messages | Martin Braun | 2018-01-23 | 1 | -75/+102 |
| | | | | | | | Empty log messages are now skipped for faster processing. The 'terminating' log message is now also empty (and thus skipped). Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | logging: Fix version print at top of every UHD session | Martin Braun | 2018-01-18 | 1 | -17/+21 |
| | |||||
* | Move all headers to SPDX format, harmonize license headers | Martin Braun | 2017-12-22 | 1 | -13/+2 |
| | |||||
* | rpc: Add feature to retrieve an error string | Martin Braun | 2017-12-22 | 1 | -6/+58 |
| | | | | | | It can be helpful to go back to the RPC server for clarification on what just happened. This adds an optional argument to the RPC client for how to retrieve that info. | ||||
* | rpc: Add set timeout API call | Martin Braun | 2017-12-22 | 1 | -0/+5 |
| | |||||
* | rpc: Changed API to request/notify for better distinction between the two | Martin Braun | 2017-12-22 | 1 | -11/+35 |
| | |||||
* | rpc: Explicit code for non-returning RPC calls | Martin Braun | 2017-12-22 | 1 | -0/+19 |
| | |||||
* | rpc: Improved error handling | Martin Braun | 2017-12-22 | 1 | -2/+17 |
| | |||||
* | mpmd/rpc: Added a convenience wrapper for calling with a token | Martin Braun | 2017-12-22 | 1 | -1/+25 |
| | |||||
* | mpmd: Added preliminary support for passing RPC client to blocks | Martin Braun | 2017-12-22 | 1 | -0/+4 |
| | |||||
* | eiscat: Fixed missing antenna selection reg write for direct rx | Martin Braun | 2017-12-22 | 1 | -2/+17 |
| | |||||
* | usrp: add netd find and impl, add uhd rpc client wrapper | Andrej Rode | 2017-12-22 | 1 | -0/+44 |
| | |||||
* | Move all license headers to SPDX format. | Martin Braun | 2017-12-22 | 14 | -168/+14 |
| | |||||
* | uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM code | Martin Braun | 2017-09-29 | 3 | -0/+45 |
| | | | | | | | | | | | | - 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 | ||||
* | C API: Added logging macros | Martin Braun | 2017-07-21 | 2 | -0/+72 |
| | |||||
* | utils: add set_thread_name API call, move thread_priority to thread | Andrej Rode | 2017-06-29 | 4 | -9/+56 |
| | |||||
* | uhd: tasks now use std::threads under the hood, and can't be interrupted | Martin Braun | 2017-06-28 | 1 | -22/+16 |
| | | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics. | ||||
* | log: Removed timeout from logger, replaced with wait. | Martin Braun | 2017-05-23 | 1 | -2/+20 |
| | | | | | This works because there's also another trace message on termination of the logger. | ||||
* | log: Moved print_system_info to log.cpp. | trungnob | 2017-05-20 | 1 | -0/+18 |
| | | | | | We want to display syteminfo when the log system get initialized. Also removes a static block. | ||||
* | log: Split add_logger() out of the main logging header | Martin Braun | 2017-05-12 | 1 | -0/+1 |
| | | | | | This way, C++11 features are not required to build with UHD headers included. | ||||
* | Merge branch 'maint' | Martin Braun | 2017-05-03 | 1 | -2/+2 |
|\ | |||||
| * | uhd: cast thread_group.create_thread() return value to void to avoid memory leak | Andrej Rode | 2017-04-25 | 1 | -2/+2 |
| | | |||||
* | | log: Fixed compiler warning | Martin Braun | 2017-05-03 | 1 | -1/+1 |
| | | |||||
* | | log: Allow logging to block | Martin Braun | 2017-04-24 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | This means it's very unlikely that logging messages get dropped, but the downside is that LOG macros can block for up to 250 ms. This is very unlikely though. Note that fastpath logging does not have this feature. It's always fast, and might drop messages. | ||||
* | | log: Moved fastpath logging to its own thread | Martin Braun | 2017-04-24 | 1 | -0/+49 |
| | | |||||
* | | log: Fixed various issues | Martin Braun | 2017-04-22 | 1 | -33/+62 |
| | | | | | | | | | | | | - Made the task a regular thread - Moved verbosity operator into lib - Minor comments and indents and so on | ||||
* | | log: Added more comments and manual page | Martin Braun | 2017-04-20 | 1 | -5/+17 |
| | | |||||
* | | log: Fix missing add_logger, fix clearing of queue | Martin Braun | 2017-04-20 | 1 | -2/+25 |
| | | |||||
* | | utils: implement Ettus Logging API | Andrej Rode | 2017-04-20 | 1 | -143/+182 |
| | | | | | | | | | | | | | | | | - 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> | ||||
* | | logging: remove unecessery newlines in log messages | Andrej Rode | 2017-04-07 | 1 | -1/+1 |
| | | |||||
* | | utils: add coloring depending on loglevel to console output | Andrej Rode | 2017-04-07 | 1 | -1/+36 |
| | | |||||
* | | utils: provide fallback to previous loglevel on reading environment/defines | Andrej Rode | 2017-02-23 | 1 | -9/+13 |
| | | |||||
* | | utils: introduce new logging API and remove msg API | Andrej Rode | 2017-02-20 | 7 | -220/+161 |
| | | |||||
* | | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 5 | -19/+14 |
| | | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development. | ||||
* | | x300: Output system messages in order for multi-threaded initialization | Paul David | 2017-01-19 | 1 | -2/+7 |
|/ | |||||
* | utils: Fixed minor rounding issue in gain_group | Martin Braun | 2017-01-04 | 1 | -2/+6 |
| | |||||
* | cmake: Add some quotes on case certain variables are blank | Martin Braun | 2017-01-04 | 1 | -2/+2 |
| | |||||
* | lib: Removed superfluous variable in gain_group | Martin Braun | 2016-11-28 | 1 | -2/+0 |
| | |||||
* | Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵ | Martin Braun | 2016-11-08 | 4 | -31/+31 |
| | | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that). | ||||
* | Merge branch 'maint' | Martin Braun | 2016-06-17 | 1 | -1/+8 |
|\ |