aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils
Commit message (Collapse)AuthorAgeFilesLines
* log: Removed timeout from logger, replaced with wait.Martin Braun2017-05-231-2/+20
| | | | | This works because there's also another trace message on termination of the logger.
* log: Moved print_system_info to log.cpp.trungnob2017-05-201-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 headerMartin Braun2017-05-121-0/+1
| | | | | This way, C++11 features are not required to build with UHD headers included.
* Merge branch 'maint'Martin Braun2017-05-031-2/+2
|\
| * uhd: cast thread_group.create_thread() return value to void to avoid memory leakAndrej Rode2017-04-251-2/+2
| |
* | log: Fixed compiler warningMartin Braun2017-05-031-1/+1
| |
* | log: Allow logging to blockMartin Braun2017-04-241-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 threadMartin Braun2017-04-241-0/+49
| |
* | log: Fixed various issuesMartin Braun2017-04-221-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 pageMartin Braun2017-04-201-5/+17
| |
* | log: Fix missing add_logger, fix clearing of queueMartin Braun2017-04-201-2/+25
| |
* | utils: implement Ettus Logging APIAndrej Rode2017-04-201-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 messagesAndrej Rode2017-04-071-1/+1
| |
* | utils: add coloring depending on loglevel to console outputAndrej Rode2017-04-071-1/+36
| |
* | utils: provide fallback to previous loglevel on reading environment/definesAndrej Rode2017-02-231-9/+13
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-207-220/+161
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-105-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 initializationPaul David2017-01-191-2/+7
|/
* utils: Fixed minor rounding issue in gain_groupMartin Braun2017-01-041-2/+6
|
* cmake: Add some quotes on case certain variables are blankMartin Braun2017-01-041-2/+2
|
* lib: Removed superfluous variable in gain_groupMartin Braun2016-11-281-2/+0
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-084-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 Braun2016-06-171-1/+8
|\
| * cmake: allow UHD library and utilities to be in separate lib directoriesNicholas Corgan2016-06-161-1/+8
| |
* | log: remove MSVC 2010 Boost bug workaroundNicholas Corgan2016-03-111-13/+1
| |
* | Merge branch 'maint'Ashish Chaudhari2016-02-181-1/+1
|\| | | | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp host/lib/usrp/dboard/db_ubx.cpp
| * Rectified the usage of UHD_IMAGES_DIR_WINREG_KEY in search paths.vkakade2016-02-111-1/+1
| |
* | Merge branch 'maint'Martin Braun2016-01-211-6/+2
|\|
| * uhd: add CMake flag for the Windows registry key to specify UHD images directoryBrooks Prumo2016-01-211-6/+2
| |
* | Merge branch 'maint'Ashish Chaudhari2015-12-153-0/+316
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.hpp host/lib/usrp/e300/e300_fpga_defs.hpp host/lib/usrp/x300/x300_fw_common.h
| * ihex: Windows fixesNicholas Corgan2015-12-141-2/+2
| |
| * b200: Factored ihex routines out of b200_ifaceMartin Braun2015-12-143-0/+316
| |
* | cmake: Proper selection of files for ENABLE_X300Martin Braun2015-10-261-1/+0
| |
* | utils: make UHD_MSG thread-safe,Michael Dickens2015-09-181-0/+2
|/ | | | Now, only 1 thread can print at a time.
* paths: consistency in usage of string parametersNicholas Corgan2015-08-121-3/+3
|
* uhd: C API wrapperNicholas Corgan2015-08-063-1/+40
| | | | | | | * multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion
* Fixed minor warningsNicholas Corgan2015-07-241-2/+4
|
* uhd: Added args arg to print_utility_warningMartin Braun2015-04-301-3/+3
|
* Fixed master-specific warningsNicholas Corgan2015-03-271-1/+1
| | | | | * MinGW: unused parameter warning, MSVC-specific pragma * MSVC: bool narrowing
* Merge branch 'maint'Martin Braun2015-02-121-4/+8
|\ | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
| * Merge branch 'bhilburn/uhdcalibpath' into maintAshish Chaudhari2015-02-111-4/+7
| |\
| | * Creating the $UHD_CONFIG_DIR env var, here used for custom cal data storage.Ben Hilburn2015-02-111-1/+1
| | | | | | | | | | | | This is a renaming of the previously created $UHDCALIBPATH.
| | * uhd::paths - fixing `get_app_path` to use correct `get_env_var` functionBen Hilburn2015-02-101-4/+7
| | | | | | | | | | | | | | | Also added new enviornment variable, "UHDCALIBPATH", so that users can use something other than system-required environment paths.
| * | uhd::paths: Fixed empty string in error messageBen Hilburn2015-02-101-0/+1
| |/
* | Merge branch 'maint' into masterBen Hilburn2015-01-282-42/+246
|\| | | | | | | | | | | | | | | | | Resolved Conflicts: host/docs/usrp_e3x0.dox host/include/uhd/utils/paths.hpp host/lib/transport/nirio/nifpga_lvbitx.cpp host/lib/usrp/b200/b200_impl.cpp host/lib/utils/paths.cpp
| * Merging new UHD_IMAGES_DIR utilities and bug fixes.Ben Hilburn2015-01-274-94/+272
| | | | | | | | Also includes NI-USRP Windows Registry Key fixes.
* | Added support for MinGW cross-compileNicholas Corgan2015-01-131-2/+2
| | | | | | | | | | | | * Added CMake toolchain file, compatible with different versions * No dependency on MinGW runtime, all statically linked * Misc coding tweaks to allow MinGW to compile
* | uhd: replaced the `images_error` with a generic utility errorBen Hilburn2014-11-213-59/+33
|/ | | | | | - Deleted images.*, moved functionality to paths.* - Applies for all devices that check FPGA or FW compat numbers - Adds generic utility search tool
* Merge branch 'maint'Martin Braun2014-09-301-1/+1
|\
| * uhd: Switched lock_guards header to locks.hppMartin Braun2014-09-301-1/+1
| |