aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
Commit message (Collapse)AuthorAgeFilesLines
* lib: Purge some use of boost::system_timeMartin Braun2018-07-121-9/+12
| | | | | These are all timeout loops, which now use std::chrono::steady_clock::now() to check for timeout events.
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-021-4/+4
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-1/+3
| | | | Replace with std::this_thread::sleep_for().
* lib: move atomic.hpp and system_time.hpp to uhdlibMartin Braun2018-04-061-1/+1
|
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-144-5/+6
| | | | | | | | | | | | | | | | 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 APIMartin Braun2018-03-051-2/+3
| | | | | | | 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.
* uhd: Update license headersMartin Braun2018-02-1913-12/+24
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-2212-144/+12
|
* UBX: Add support for UBX-TDDmichael-west2017-12-071-2/+2
|
* UHD: Add eeprom info to dboard_basemichael-west2017-12-071-2/+2
|
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-294-6/+97
| | | | | | | | | | | | - 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
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-2/+2
|
* uhd: tasks now use std::threads under the hood, and can't be interruptedMartin Braun2017-06-283-8/+13
| | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics.
* logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-052-6/+6
|
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-205-44/+44
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-104-15/+14
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* b100: Removed superfluous FX2 vid/pidMartin Braun2016-11-281-2/+0
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-087-112/+112
| | | | | | | | 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).
* dboard_iface: Added FE name input to set_fe_connectionAshish Chaudhari2016-05-161-3/+3
| | | | | - A dboard_base class can have multiple frontends (subdevs) and the set_fe_connection needs to be able to distinguish between them
* dboard_iface: Added method to configure front connection and settingsAshish Chaudhari2016-03-211-0/+6
|
* usrp: Refactored dboard_iface for all productsAshish Chaudhari2016-02-161-27/+96
| | | | | | | - Made dboard_iface an interface! Removed PIMPL - Added unit "BOTH" to dboard API and expanded GPIO API width to 32 - Removed gpio_debug_mux. No product ever used that - Refactored gpio_atr cores to work with new dboard_iface
* dboard: Added restricted dboard registration capabilityAshish Chaudhari2016-02-162-4/+2
| | | | | | - Moved dboard iface initialization to dboard_manager - Added a restricted register function. Restricted dboards don't expose their control iface in the property tree
* prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-111-26/+26
| | | | | | | | | - Added desired and coerced values and accessors to property - Added support to register desired subscribers - set APIs don't reallocate storage for a property value - Renamed callback method registration APIs - Registering 2 coercers or publishers for a property will throw - Registering a coercer and a publisher for the same property will throw
* cmake: Register components earlierMartin Braun2015-11-161-2/+0
| | | | | | | | | | All device-specific CMake components are now registered in one place, before the host/lib/ subdirs are sourced. This way, there are no cyclic dependencies. This solves the issue where ENABLE_X300=Off could disable USB, but preserves the fix where ENABLE_X300=Off would still build some X300 codes.
* usrp3: Added new GPIO ATR 3000 coreAshish Chaudhari2015-09-291-0/+1
| | | | | | | | - Refactored GPIO ATR definitions - Added new 3000 core with a more efficient API - Added a separate db_gpio_atr core to control the ATR bus - Ported b2xx, e3xx and x3xx to the new core - Minor cleanup
* cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, ↵Nicholas Corgan2015-08-111-2/+2
| | | | | | set LibUHD to required * If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it
* usrp1: codec_ctrl: Fix compiler warning.Moritz Fischer2015-04-101-1/+1
| | | | | | Use std::abs() instead of abs(). Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* Warning fixesNicholas Corgan2015-03-271-4/+4
| | | | | | | * CMake now not applying C++ flags to C files * GCC 4.4: anti-aliasing rules * MSVC: narrowing, differences in subclass function parameters * Clang: uninitialized variables
* Merging new UHD_IMAGES_DIR utilities and bug fixes.Ben Hilburn2015-01-271-2/+2
| | | | Also includes NI-USRP Windows Registry Key fixes.
* Added missing pure virtual destructors to base classesNicholas Corgan2014-09-014-4/+16
|
* OctoClock firmware upgrade, added host driverNicholas Corgan2014-07-231-2/+3
| | | | | | | | | | * OctoClock can communicate with UHD over Ethernet * Can read NMEA strings from GPSDO and send to host * Added multi_usrp_clock class for clock devices * uhd::device can now filter to return only USRP devices or clock devices * New OctoClock bootloader can accept firmware download over Ethernet * Added octoclock_burn_eeprom,octoclock_firmware_burner utilities * Added test_clock_synch example to show clock API
* Merge branch 'origin/b200/issue_418'Ben Hilburn2014-04-101-3/+4
|\ | | | | | | Fixing unsafe sscanf call.
| * b100+b200+usrp1: removed potentially unsafe sscanf callMartin Braun2014-04-101-3/+4
| |
* | uhd: Added max link rate info for usrp1, usrp2 and b100Martin Braun2014-04-102-1/+2
|/
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-042-10/+3
|
* Squashed merge of Coverity fixes.Ben Hilburn2013-11-272-6/+8
|
* BUG #203: Initialized gain values to 0.0Michael West2013-11-081-3/+5
|
* uhd: wb_iface is now a public interfaceJosh Blum2013-10-041-3/+4
|
* uhd: allow for 16 bit i2c and eeprom addrsJosh Blum2013-07-242-6/+6
|
* uhd: added new calls to streamer object + support workJosh Blum2013-07-151-0/+11
| | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API.
* Merge branch 'maint34' into maintNicholas Corgan2012-11-166-14/+91
|\ | | | | | | | | | | Conflicts: host/lib/usrp/b100/b100_impl.cpp host/lib/usrp/usrp1/usrp1_impl.hpp
| * lib/cmake: CPack source workNicholas Corgan2012-11-166-15/+92
| | | | | | | | | | * Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source
* | lfrx: disable dc offset correction when using LFRXJosh Blum2012-09-281-0/+3
| |
* | usrp1: added hook to poke user regsJosh Blum2012-09-202-0/+13
| |
* | usrp1: wrap around for DAC tuning outside 1st nyquistJosh Blum2012-06-281-1/+8
| |
* | Merge branch 'maint'Josh Blum2012-06-281-36/+2
|\|
| * usrp1: revert calculation for DAC freq outside of 1st NyquistJosh Blum2012-06-281-36/+2
| | | | | | | | This patch does not work. A possibile solution will be added to master.
* | utils: UHD Image Downloader - downloads firmware/FPGA images compatible with ↵Nicholas Corgan2012-06-071-5/+1
| | | | | | | | the current host code and places them in the images directory
* | Merge branch 'maint'Josh Blum2012-05-301-1/+6
|\|
| * usrp1: shutoff DAC digital w/ TX state machineJosh Blum2012-05-301-1/+6
| |