The USRP™ Hardware Driver Repository
Find a file
Martin Braun 727141d851 examples: gpio: Refactor example
The example had organically grown and was getting hard to read, and also
had some known issues. Summary of fixes:

- Default GPIO bank and connector are now derived from the device. This
  allows this example to pass without throwing an exception on E3xx and
  X4xx series when using default arguments.
- The bitbang test is moved into its own code section, to make the rest
  more readable.
- We move all the streamer-related code into a helper struct
- Some repetitive parts of the code are moved into their own functions
- The argument --require-loopback is added, which will fail tests if
  GPIO pins are not correctly looped back externally
- --list-banks is renamed to --list_banks for consistency
2022-05-25 07:56:27 -07:00
.ci ci: Add new x3xx hardware to rhombus 2022-05-20 06:33:45 -07:00
.github github: Amend PR template with a checkbox for compat numbers 2021-12-08 12:05:35 -08:00
firmware firmware: Remove N230 firmware 2022-02-24 13:32:01 -06:00
fpga REVERT images: zbx lattice cpld image manifest 2022-05-16 06:18:09 -07:00
host examples: gpio: Refactor example 2022-05-25 07:56:27 -07:00
images REVERT images: zbx lattice cpld image manifest 2022-05-16 06:18:09 -07:00
mpm mpm: add support for lattice zbx cpld 2022-05-16 06:18:09 -07:00
tools uhd: Remove outdated test infrastructure 2022-05-24 07:50:21 -07:00
.clang-format clang-format: Break after templates 2019-03-21 09:50:09 -07:00
.clang-tidy Add clang-tidy file 2021-03-04 08:07:26 -06:00
.gitattributes uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
.gitignore uhd: gitignore .DS_Store for our macOS friends 2021-03-12 13:55:25 -06:00
.gitmodules Merge FPGA repository back into UHD repository 2020-01-28 09:35:36 -08:00
.readthedocs.yaml docs: Add shim Sphinx config for readthedocs 2022-02-01 14:48:56 -06:00
CHANGELOG uhd: Prepare for 4.2.0.0 release 2022-04-19 12:51:57 -07:00
CODING.md Merge FPGA repository back into UHD repository 2020-01-28 09:35:36 -08:00
CONTRIBUTING.md Merge FPGA repository back into UHD repository 2020-01-28 09:35:36 -08:00
LICENSE.md Merge FPGA repository back into UHD repository 2020-01-28 09:35:36 -08:00
README.md README.md: Fix REDHAWK link 2020-08-13 15:02:20 -05:00

USRP Hardware Driver (UHD™) Software

Welcome to the UHD™ software distribution! UHD is the free & open-source software driver and API for the Universal Software Radio Peripheral (USRP™) SDR platform, created and sold by Ettus Research.

UHD supports all Ettus Research USRP™ hardware, including all motherboards and daughterboards, and the combinations thereof.

Documentation

For technical documentation related to USRP™ hardware or UHD system design, check out the UHD and USRP Manual. That is where you can find Installation Instructions, help on how to build UHD from source on different platforms, development guidelines and reference documentation as well as device usage guidance.

Additionally, be sure to check out the Ettus Research FAQ, and the Knowledge Base for useful application notes and tutorials.

OS Support

UHD is primarily developed on Linux, but we also test and support the following operating systems.

  • Linux (Fedora and Ubuntu)
  • Mac OS X (Intel)
  • Windows 10

Other operating systems will most likely work, too, but are not officially supported.

Applications

UHD can be used to build stand-alone applications with USRP™ hardware, or with third-party applications. Some common toolkits / frameworks are:

Directories

host/

The source code for the user-space driver.

mpm/

The source code for the module peripheral manager (MPM). This is code that is run on embedded devices.

firmware/

The source code for all microprocessors in USRP hardware.

fpga/

The source code for the UHD FPGA images.

images/

This contains the package builder for FPGA and firmware images. We provide other tools to download image packages, the scripts in here are mainly relevant for UHD maintainers and -developers.

tools/

Additional tools, mainly for debugging purposes. See the readme-file in that directory for more details on the individual tools.