aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
* GPSDO: Make sure read_uart() returns only complete strings for all devices.michael-west2016-09-025-18/+41
|
* Add thread safety to gps_ctrl cached sensorsmichael-west2016-09-021-0/+3
|
* uhd: error on setting large recv_frame_size fixed #1212Sugandha Gupta2016-08-291-6/+11
|
* ubx: Added codes for the rev2 and LP versionsMartin Braun2016-08-221-10/+35
|
* cores: Fixed typo in time_core_3000Martin Braun2016-08-121-2/+2
|
* WBX: Make frequencies <100 MHz work for v2 and v3 boards when reference ↵michael-west2016-08-012-16/+22
| | | | clock <100 MHz (i.e. on X300)
* Octoclock: Fixed issues related to missing strings from GPSDO.michael-west2016-06-282-13/+26
| | | | | - Corrected case when num_wraps overflowed - Added limit to cache age
* Octoclock: Fix firmware version compatibilitymichael-west2016-06-277-30/+34
|
* converters: Clarifying comment re packingMartin Braun2016-06-222-0/+10
|
* b200: Update DSPs after changing tick rateMartin Braun2016-06-223-6/+32
| | | | | Reviewed-By: Andrew Lynch <andrew.lynch@ni.com> Reviewed-By: Michael West <michael.west@ettus.com>
* lib: fixed GCC 6 warnings/errorsNicholas Corgan2016-06-212-6/+16
| | | | | * gpsd_iface: fixed ambiguity in boost::assign::list_of usage * b100/clock_ctrl: fixed "misleading indentation" warning
* Added the option to disable ADC self-testMarcus Müller2016-06-171-1/+1
| | | | | | This proved helpful on devices where the EEPROM is wrong about hardware revision, and the EEPROM writing doesn't work, because the ADC self-test fails due to being run for the wrong board revision.
* octoclock: bugfixes, bumped firmware compat number to 4Nicholas Corgan2016-06-176-32/+62
| | | | | | | | | * host: consistency in setting packet sequence numbers * firmware: populate packet length field when setting GPSDO cache * both: logic for dealing with mismatching compatibility numbers Reviewed-By: Michael West <michael.west@ettus.com> Reviewed-By: Martin Braun <martin.braun@ettus.com>
* convert: remove duplicate registration of sc12 sizeNicholas Corgan2016-06-171-2/+1
|
* Octoclock: Fix off by one errors in uart codemichael-west2016-06-161-2/+2
|
* cmake: allow UHD library and utilities to be in separate lib directoriesNicholas Corgan2016-06-161-1/+8
|
* Spelling fixesNicholas Corgan2016-06-142-8/+8
|
* Fix off-by-one errorJonathan Wakely2016-06-071-1/+1
| | | | There's an off-by-one error in base64_decode_value that results in undefined behaviour when it's passed `'\x7b'`
* octoclock: Fix multi-line #define statementsMarcus Müller2016-06-061-8/+10
| | | | | | | | | | | | | | | | | | | | Now, use `do{...} while(0)` to pack multiple statements into a single one that isn't fragile. Currently ``` if(state_just_right) OCTOCLOCK_SEND_AND_RECV(all,the,options); ``` would introduce annoying bugs. Generally, there's no good reason this is a `#define` rather than a C/C++ function. The `OCTOCLOCK_PACKET_MATCHES` should probably be a C function, too, or simply an overloaded `==` operator on to `const octoclock_packet_t&`.
* UBX: Force RX LNAs on to reduce RX settling timemichael-west2016-05-261-7/+26
|
* UBX: Fixed noise issues and reduced power consumption and heatmichael-west2016-05-261-23/+37
| | | | | - Removed force on of components to reduce noise, power consumption, and heat - Set TX PA force on only when RX antenna set to RX2 to remove long TX transient caused by HW issue on TX path
* bugfix#1102: Prevented X300 DAC FIFO from underflowingAshish Chaudhari2016-05-253-15/+4
| | | | | | | - The spectral distortion was begin caused by the DAC FIFO underflowing. The fix was to run through the DAC sync procedure which uses the falling edge clock to sample the RefClk and sync it with the data clk
* b200: Changed implicit conversion to explicit conversion for wptrAndrew Lynch2016-05-051-2/+2
|
* b200: Changed tree sptr in lambda to wptrAndrew Lynch2016-05-041-2/+6
|
* b200: Fixed setting of max rateMartin Braun2016-04-222-10/+18
| | | | | | | DSP rates are now being tracked as in whether or not they've been set. We can disregard unset DSPs for the automatic clock rate calculation. Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* e3xx: spi: Fix issue introduced in 1b149f56Moritz Fischer2016-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernels (3.15+) introduce the possibility to do DUAL and QUAD spi operations via spidev. Prior to this commit nothing was setting the {tx,rx}_nbits members of the struct spi_ioc_transfer. from include/uapi/linux/spi/spidev.h struct spi_ioc_transfer { __u64 tx_buf; __u64 rx_buf; __u32 len; __u32 speed_hz; __u16 delay_usecs; __u8 bits_per_word; __u8 cs_change; __u8 tx_nbits; __u8 rx_nbits; __u16 pad; }; This turns into an issue on more recent kernels, where it turns all transactions into QUAD transactions, while the controller actually doesn't support that mode of operation. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* gpio core: Fixed a mismatch in the address assignment for RX and full duplexPaul David2016-04-061-2/+2
|
* ubx: Changed member declaration to satisfy debug builds on WindowsMartin Braun2016-03-291-1/+1
|
* Unroll the loops in the NEON float to/from integer converters.Philip Balister2016-03-231-2/+46
| | | | | | | | Unrolling the RX loop showed marked improvement with perf. The TX path was only slightly better. Checked signal correctness with shinysdr to verify received signal and tx_waveforms into a spectrum analyzer for TX. Signed-off-by: Philip Balister <philip@opensdr.com>
* Added missing stdint.h includeNicholas Corgan2016-03-221-1/+2
|
* transport: Also send flow control ACKs on sequence errorsMartin Braun2016-03-161-0/+6
|
* Fixed minor warnings:Nicholas Corgan2016-03-043-5/+5
| | | | | | * nirio_driver_iface_win: labeled unused variable for MinGW builds * b200_impl: fixed unreferenced variable warning * n200_image_loader: fixed signed vs. unsigned comparison
* x300: Added power cycle message to uhd_image_loaderMartin Braun2016-03-031-0/+2
|
* e300: Fixed a memory leak in udev codeMarcus Müller2016-03-031-2/+3
| | | | | When querying temp mboard sensor on e300, sysfs attributes are read through udev.
* Enable multiple programs to use USB USRPs on WindowsDerek Kozel2016-02-291-4/+6
| | | | | | | Window's WinUSB driver doesn't support multiple processes accessing a single USB device and libusb_open returns LIBUSB_ACCESS_ERROR when trying to access an already claimed USRP. One device access did not catch this exception and caused UHD to error during USRP discovery.
* UBX: Phase synchronizationmichael-west2016-02-187-99/+340
| | | | | | | - Disabled MAX2871 VCO auto selection for phase sync - Added checks for new phase sync constraints recently published by Maxim - Added dboard_clock_rate option for X300 - Adjusted timing of SYNC signal relative to dboard referenc clock
* Corrected the UHD behavior in the event of a USB disconnectDaulPavid2016-02-122-5/+5
|
* Rectified the usage of UHD_IMAGES_DIR_WINREG_KEY in search paths.vkakade2016-02-111-1/+1
|
* B200: Fix for increasing retune timesmichael-west2016-02-051-2/+2
|
* uhd: add CMake flag for the Windows registry key to specify UHD images directoryBrooks Prumo2016-01-211-6/+2
|
* cmake: removed unnecessary includeNicholas Corgan2016-01-181-3/+1
|
* e3xx: Added FPGA loading code for speedgrade 3 devices.Moritz Fischer2015-12-165-15/+29
| | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* ADF4002: Fix register programming (bug #974)michael-west2015-12-151-4/+4
|
* ihex: Windows fixesNicholas Corgan2015-12-142-11/+10
|
* octoclock: Now uses internal ihex parserMartin Braun2015-12-146-669/+44
|
* b200: Factored ihex routines out of b200_ifaceMartin Braun2015-12-144-160/+339
|
* B2xx: Added B205mini support.michael-west2015-12-104-35/+46
| | | | | | - Add support to b200_impl - New INF file - Removed references to old 'B205' name
* b2xx,e3xx,x300: Bumped FPGA compat numbers after SW time-sync changesAshish Chaudhari2015-12-103-4/+4
| | | | | | | - b200: compat 13 - b200mini: compat 4 - e3xx: compat 14 - x3xx: compat 19
* Bumped FPGA compat numbers for B200, X300, and E300.michael-west2015-12-103-3/+3
|
* B200/E300: Set time sync on clock rate change to current time of first radiomichael-west2015-12-104-8/+20
|