Commit graph

111 commits

Author SHA1 Message Date
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width 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).
2016-11-08 08:02:22 -08:00
Martin Braun
83912104a9 Merge branch 'UHD-3.9.LTS' into maint
This provides the GPS fixes.

Conflicts:
	host/CMakeLists.txt
	tools/debs/upload_debs.sh
2016-09-02 11:27:37 -07:00
michael-west
8401e84d68 E100: Simplify GPSDO UART so it does not strip characters. 2016-09-02 11:10:46 -07:00
michael-west
59ed6e1a0f GPSDO: Make sure read_uart() returns only complete strings for all devices. 2016-09-02 11:10:46 -07:00
Ashish Chaudhari
36075f38e6 dboard_iface: Added FE name input to set_fe_connection
- A dboard_base class can have multiple frontends (subdevs) and
  the set_fe_connection needs to be able to distinguish between them
2016-05-16 11:52:06 -07:00
Ashish Chaudhari
721f2dd9c1 dboard_iface: Added method to configure front connection and settings 2016-03-21 17:46:23 -07:00
Ashish Chaudhari
87d80f55cd usrp: Refactored dboard_iface for all products
- 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
2016-02-16 17:13:11 -08:00
Ashish Chaudhari
b263800437 dboard: Added restricted dboard registration capability
- Moved dboard iface initialization to dboard_manager
- Added a restricted register function. Restricted dboards
  don't expose their control iface in the property tree
2016-02-16 16:19:01 -08:00
Ashish Chaudhari
27a08ccddc prop_tree: Multiple API enhancements to uhd::property
- 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
2016-02-11 14:36:20 -08:00
Martin Braun
3f1d0fb1bd cmake: Register components earlier
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.
2015-11-16 15:21:44 -08:00
Nicholas Corgan
0dbaf46b5c cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, set LibUHD to required
* If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it
2015-08-11 10:51:23 -07:00
Nicholas Corgan
0595900ecc Added uhd::image_loader class and uhd_image_loader utility
* Single class for loading firmware/FPGA images onto devices instead of multiple utilities
* Loading functions are registered for each device, corresponding to their --args="type=foo" name
* Deprecation warnings added to all product-specific image loading utilities
2015-07-15 09:32:18 -07:00
michael-west
65a1b6d7f4 e100: Support command time access through dboard_iface. 2015-04-03 13:44:29 -07:00
michael-west
ccf1d5c5e5 uhd: Add ability to get and set command time through dboard_iface.
This creates a wb_iface child class called timed_wb_iface, which
adds support for timed commands.
2015-04-03 13:43:23 -07:00
Ben Hilburn
75d519706b Merging new UHD_IMAGES_DIR utilities and bug fixes.
Also includes NI-USRP Windows Registry Key fixes.
2015-01-27 16:07:43 -08:00
Nicholas Corgan
7cac8926d5 e100: fixed typo in fpga_downloader 2015-01-07 17:13:14 +01:00
Martin Braun
5aefa0fdfc Merge branch 'maint' 2014-09-23 16:03:27 -07:00
Nicholas Corgan
df0c602c43 usrp: don't print duplicate GPSDO detection messages 2014-09-23 13:05:37 -07:00
Nicholas Corgan
da018c53b4 Give user the option to ignore daughterboard's calibration file at runtime
* Add "ignore-cal-file" to the uhd::device_addr_t arguments
* Added documentation for new feature
2014-09-02 12:08:36 +02:00
Nicholas Corgan
a6e18604be OctoClock firmware upgrade, added host driver
* 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
2014-07-23 07:37:32 -07:00
Ben Hilburn
178ac3f1c9 Merging USRP X300 and X310 support!! 2014-02-04 11:04:07 -08:00
Josh Blum
56f391ad64 uhd: wb_iface is now a public interface 2013-10-04 16:49:32 -07:00
Josh Blum
0aeac60394 uhd: allow for 16 bit i2c and eeprom addrs 2013-07-24 17:46:04 -07:00
Josh Blum
c464a63e87 uhd: added new calls to streamer object + support work
* 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.
2013-07-15 15:44:42 -07:00
Josh Blum
bcdf7c371f e100: fix compiler error use boost cstdint 2013-07-01 12:48:18 -07:00
Josh Blum
ee3082224f e100: switch to fixed length xfers 2013-03-25 16:05:41 -07:00
Josh Blum
be172a615a lfrx: disable dc offset correction when using LFRX 2012-09-28 16:58:28 -07:00
Josh Blum
b4f3b83acb e100: added extra error message for FPGA not found 2012-07-19 17:11:41 -07:00
Josh Blum
ba9a627475 b100/e100: clock source option for pps phase sync abuse 2012-07-19 14:20:45 -07:00
Josh Blum
f3e7f66907 e100: ctrl impl changes for header offset 2012-07-16 20:47:49 -07:00
Josh Blum
2f4149bf45 e100: cleanup and make better use of IRQ gpio for control response 2012-07-16 20:45:55 -07:00
Josh Blum
58484632eb e100: squashed host code for fifo control/timed commands
This uses the new b100/e100 common core and FIFO control modules.
Subsequent commit will be the compatible FPGA merge.

Conflicts:

	host/lib/usrp/e100/io_impl.cpp
2012-07-16 20:44:49 -07:00
Josh Blum
b6bb13bcba Merge branch 'maint' 2012-07-16 20:25:07 -07:00
Josh Blum
eb0833008f e100: set vita header offset for previous FPGA changeset 2012-07-16 18:50:35 -07:00
Josh Blum
a5ffda85bc gpsdo: added "gpsdo" clock and time source options
When an on-board GPSDO is detected, "gpsdo" is added to the options.
2012-05-18 11:50:32 -07:00
Josh Blum
c94963a436 usrp: mboard eeprom map use string as key 2012-05-14 11:59:20 -07:00
Josh Blum
6ca39ad9ea b100/e100: bumped compat number to 10 after fpga merge 2012-04-25 18:15:49 -07:00
Josh Blum
253be8f0da uhd: squashed transport work 2012-04-23 13:45:23 -07:00
Josh Blum
81e2262c9e e100: fix typo from last commit 2012-04-20 19:25:57 -07:00
Nicholas Corgan
a6ec6e2544 mboard id's are now more concise (codenames are separated, for example), and dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc) 2012-04-20 14:21:17 -07:00
Josh Blum
f91e247da2 usrp: fix from "rev iq correction"
Must zero out the default IQ correction to have zero effect by default.
2012-03-16 09:04:44 -07:00
Josh Blum
bd7e53d385 usrp: reset cordics on init after tick rate update 2012-02-28 13:35:50 -08:00
Josh Blum
3060006b35 uhd: added async md user payload and common utils 2012-02-14 18:26:03 -08:00
Josh Blum
1151000340 uhd: various tweaks for compiler warns and valgrind 2012-02-09 17:59:48 -08:00
Josh Blum
5eec31fab4 dsp rework: implement 64 bit ticks, no seconds 2012-02-06 16:40:42 -08:00
Josh Blum
c6e63c9d2a b100/e100: unify rx/tx fifo clears into one 2012-02-04 16:38:15 -08:00
Josh Blum
b7ff81c9a8 dsp rework: work on usb wrapper for smaller packets, large luts 2012-02-02 15:15:54 -08:00
Josh Blum
d27125b9ab dsp rework: account for no sid used in tx vita pkt 2012-02-01 09:48:28 -08:00
Josh Blum
d46c176af3 dsp rework: tx trailer, scaling work (peak) 2012-01-31 14:56:31 -08:00
Josh Blum
781cafa871 gen2: added user setting regs api and user core 2012-01-31 14:56:31 -08:00