Commit graph

260 commits

Author SHA1 Message Date
Martin Braun
666e8c9bcd b100: Removed superfluous FX2 vid/pid 2016-11-28 12:17:12 -08:00
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
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
Ashish Chaudhari
e4c9656ac2 usrp3: Added new GPIO ATR 3000 core
- 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
2015-09-29 15:53:43 -07: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
Moritz Fischer
f80677f185 usrp1: codec_ctrl: Fix compiler warning.
Use std::abs() instead of abs().

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-04-10 17:56:41 -07:00
Nicholas Corgan
1200721b69 Warning fixes
* 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
2015-03-27 09:35:29 -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
654c5b06c0 Added missing pure virtual destructors to base classes 2014-09-01 17:58:24 +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
21518ec2ba Merge branch 'origin/b200/issue_418'
Fixing unsafe sscanf call.
2014-04-10 13:09:01 -07:00
Martin Braun
fa996034dd b100+b200+usrp1: removed potentially unsafe sscanf call 2014-04-10 21:36:19 +02:00
Martin Braun
01c8de2c68 uhd: Added max link rate info for usrp1, usrp2 and b100 2014-04-10 21:03:10 +02:00
Ben Hilburn
178ac3f1c9 Merging USRP X300 and X310 support!! 2014-02-04 11:04:07 -08:00
Ben Hilburn
9e47ad607b Squashed merge of Coverity fixes. 2013-11-27 12:11:23 -08:00
Michael West
ef3510f15e BUG #203: Initialized gain values to 0.0 2013-11-08 15:15:19 -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
Nicholas Corgan
eaadc6e89a Merge branch 'maint34' into maint
Conflicts:
	host/lib/usrp/b100/b100_impl.cpp
	host/lib/usrp/usrp1/usrp1_impl.hpp
2012-11-16 16:04:26 -08:00
Nicholas Corgan
011f63d19d lib/cmake: CPack source work
* Removed all host code dependencies on firmware headers
* Put in CMake settings for CPack source
2012-11-16 15:54:09 -08:00
Josh Blum
be172a615a lfrx: disable dc offset correction when using LFRX 2012-09-28 16:58:28 -07:00
Josh Blum
eb7a99e99d usrp1: added hook to poke user regs 2012-09-20 16:00:13 -04:00
Josh Blum
0d5cef73c1 usrp1: wrap around for DAC tuning outside 1st nyquist 2012-06-28 13:10:01 -07:00
Josh Blum
ca8281f5c3 Merge branch 'maint' 2012-06-28 12:19:58 -07:00
Josh Blum
3079b5715d usrp1: revert calculation for DAC freq outside of 1st Nyquist
This patch does not work. A possibile solution will be added to master.
2012-06-28 12:19:25 -07:00
Nicholas Corgan
e7df63844f utils: UHD Image Downloader - downloads firmware/FPGA images compatible with the current host code and places them in the images directory 2012-06-07 15:05:41 -07:00
Josh Blum
b61a11031f Merge branch 'maint' 2012-05-30 12:59:18 -07:00
Josh Blum
3adecd5bc1 usrp1: shutoff DAC digital w/ TX state machine 2012-05-30 12:56:38 -07:00
Josh Blum
3804361215 Merge branch 'maint' 2012-05-17 17:49:28 -07:00
Josh Blum
19874c04d4 usrp1: removed print from codec_ctrl last commit 2012-05-17 15:50:07 -07:00
Nicholas Corgan
c033017a3f Fixing USRP1 aliasing logic 2012-05-17 15:45:37 -07:00
Josh Blum
c94963a436 usrp: mboard eeprom map use string as key 2012-05-14 11:59:20 -07:00
Josh Blum
db6ba7d474 Merge branch 'maint' 2012-05-14 11:52:29 -07:00
Josh Blum
ea4549f841 usrp1: ensure frontend specs are init'd to something
This helps the case of 4x DDC no DUC for example,
that way at least something empty is set to the property.
2012-05-11 21:30:29 -07:00
Josh Blum
253be8f0da uhd: squashed transport work 2012-04-23 13:45:23 -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
7ac203b39c usrp1: stop threads in deconstructor
Its important to stop the threads before we let
the other smart point objects naturally deconstruct
to avoid thread-based race conditions.

The attempt to deconstruct the tree and soft time ctrl
had a bug because the tree had references in subtrees
within the dboard manager class.

Rather than continue to fix this method and
deconstruct the tree to free up soft time ctrl,
it seems simpler to just stop the thread in soft time ctrl,
and then let it naturally deconstruct later by ref count.
2012-03-29 16:01:52 -07:00
Josh Blum
b61f4ad603 usrp1: fix for cordic init, cant do it that way on tx 2012-02-29 14:26:40 -08:00
Josh Blum
bd7e53d385 usrp: reset cordics on init after tick rate update 2012-02-28 13:35:50 -08:00
Josh Blum
11e9429b95 usrp1: fix to use the db connection type to determine DAC sign
Unlike the other products, usrp1 uses the DAC and not DSP
to perform baseband frequency shifting in the hardware.
Therefore this shifting occurs before I and Q swapping,
and so, the sign of the frequency needs to be inverted
on daughterboards which have inverted I and Q TX inputs.
2012-02-24 10:06:13 -08:00
Josh Blum
1156d9b26a usrp1: fix advertised samples per packet in send streamer
Must subtract off the 511 for 512 modulus remainder commit.
This bug was introduced by the conversion to streamer API.
2012-02-21 17:42:15 -08:00
Josh Blum
8442ea5e2c b100/usrp1: various tweaks for compiler warns and valgrind 2012-02-09 19:02:43 -08:00
Josh Blum
1151000340 uhd: various tweaks for compiler warns and valgrind 2012-02-09 17:59:48 -08:00
Josh Blum
b7ff81c9a8 dsp rework: work on usb wrapper for smaller packets, large luts 2012-02-02 15:15:54 -08:00