The USRP™ Hardware Driver Repository
Find a file
Aaron Rossetto 87bc7c1bde cmake: Replace distutils.sysconfig with sysconfig
This commit replaces uses of distutils.sysconfig's get_python_lib()
function with sysconfig's near-equivalent get_path() function to get the
directory for site-specific, platform-specific files. Unfortunately,
get_path() does not have a way to easily modify or strip the prefix
applied to the path like get_python_lib() does, so the code must
manually modify the path to get the same effect:

- First, the platlib path is retrieved from the get_path() call.
- Next, the default base that is used to form the pathlib path is
queried via the get_config_var('base') call.
- Next, the portion of the platlib path that matches the default base is
stripped, and any leading path separator remaining is stripped. This
fundamentally replicates the behavior of get_python_lib() with an empty
prefix (i.e., the prefix positional parameter is specified as '').
- If a different prefix is desired, then the os.path.join() function is
used to combine the new prefix with the stripped pathlib path, ensuring
that the platform-specific path separator is used in crafting the path.
2022-01-14 14:36:39 -06:00
.ci ci: Separate pipeline builds for different os 2022-01-14 09:50:36 -06:00
.github github: Amend PR template with a checkbox for compat numbers 2021-12-08 12:05:35 -08:00
firmware firmware: b2xx: Update to newer Cypress FX3 SDK 2020-08-25 07:28:22 -05:00
fpga fpga: tools: Fix adding directories for HDL source 2022-01-13 14:33:59 -06:00
host cmake: Replace distutils.sysconfig with sysconfig 2022-01-14 14:36:39 -06:00
images images: Clear out code from days of yore 2021-12-17 11:18:53 -06:00
mpm cmake: Replace distutils.sysconfig with sysconfig 2022-01-14 14:36:39 -06:00
tools cmake: Replace distutils.sysconfig with sysconfig 2022-01-14 14:36:39 -06: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
CHANGELOG uhd: Update version, manifest, and changelogs 2021-07-21 14:29:44 -05: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.