| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
only the assert has implementation is in this header
uhd assert throw moved to the exception header
updated code base includes to match
|
|\
| |
| |
| |
| | |
Conflicts:
host/include/uhd/usrp/mboard_props.hpp
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
usrp1 previously had 1 rx and 1 tx dsp with multiple freq params,
it now has N and M dsps each with one freq param.
This is more consistent with the multi-dsp model.
The hack here is to only apply stream commands and sample rate changes to dsp0.
|
| |
| |
| |
| |
| |
| | |
modified implementation code and burner app
also made dboard manager use safe constructor that will use none ids if construction fails
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
prebind the callbacks for getting buffers in io_impl class
reimplement the special send buffer commit hack to avoid allocating
|
|
|
|
|
|
|
|
|
| |
Created new type ref_vector for representing a vector of pointers.
Can be created from std::vector or a pointer.
Removes the convenience constrcutors for send/recv, its not needed.
Removes malloc/free overhead when using send/recv with pointer.
|
| |
|
|
|
|
|
|
|
| |
The bounded buffer now uses the detail idiom to hide implementation to inline better.
The whole sptr/make idiom was removed from bounded buffer to just construct directly.
The code using bounded buffer was changed for the new api:
replaces access operators and calls to the factory function.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
implemented set and get rates in usrp1 (its all soft)
implemented set and get rates in usrp2 (only 100MHz)
|
| |
| |
| |
| |
| | |
Leave the tx digital always enabled, flush with zeros is enough to turn it "off".
Fixed the flush routine to send something (when zero) to ensure zeros go out.
|
|/ |
|
|
|
|
|
|
| |
initialize the time to something in soft time control
use std::max(0, lost) because the time is emulated, lost can be negative which means huge positive unsigned...
|
| |
|
| |
|
|
|
|
|
|
| |
today we added shutoff the DAC when not transmitting using EOB as an indicator
added various other features and cleaned up code for soft time control
|
| |
|
| |
|
|
|
|
| |
double, simplifies life
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
now docs, examples, utils, usb, are configurable components with dependencies
|
|
|
|
| |
noticed
|
|
|
|
|
|
| |
libuhd prints summary of components
added newline prints before config checks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
created a templated range that that holds a start, stop, and step
created a meta-range template that is a vector of ranges
meta-range can calculate the overall start, stop, step
or be indexed to get at components
replaced instances of range.min, max, step with the functions
start() stop() and step()
the xcvr frequency range is now expressed in as two ranges
(have to fix its clip function though)
|
| |
|
| |
|
|
|
|
| |
to usrp2
|
|\
| |
| |
| |
| | |
Conflicts:
firmware/fx2/include
|
| |
| |
| |
| | |
serial from serial (for now)
|
|/
|
|
| |
eeproms
|
| |
|
|
|
|
|
|
| |
renamed print warning calls in the implementation
fixed issue with dict::pop so it now works even if the value is not comparable
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The max send spp is the frame size minus the alignment padding.
This allows us to copy a remainder into a new buffer and always
commit multiples of the alignment size (512 bytes).
Reworked the managed send buffer implementation to handle the above.
Uses only managed memory, and only mem-copied under the alignment.
|
|
|
|
|
|
|
|
|
|
| |
the device address gives a key, value pair of infinite optional capabilities
added a cast option to the device address to cast string to type T
added call to the zero_copy_if to get send and recv frame sizes
changed the usrp2 impl to calculate recv/send spp from the data transport
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- recv buffers have a release call
- safe make function for recv buffers (buff + release callback)
- send buffer commits now have a void return
- safe make function for send buffers (buff + commit callback)
The reason for the void return from commit is that ssize_t num_bytes was never returning anything of use.
That is for all of the zero copy implementations so far, commit cannot really error (being asynchronous).
libusb zero copy impl was reworked to support the new interface.
USRP1 io_impl with the psuedo managed buffer was replaced with safe_make.
Also, usrp1 io_impl was simplified greatly due to commit returning void now.
UDP zero copy asio was disabled (in this commit, until its reworked).
Phony send and recv interfaces were removed completely.
|
|
|
|
|
|
|
|
| |
converted all size_t timeout_ms to double timeout
bounded and alignment buffer now take double timeout
added timeout to device::send and zero_copy_if::get_send_buff
|
|
|
|
| |
discovery time
|
|\ |
|
| |\ |
|
| | | |
|