uhd/tools
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
..
debs debs: Update upload_debs script 2021-10-28 13:57:54 -07:00
dissectors tools: Add missing fields to CHDR dissector 2021-12-08 12:09:39 -08:00
gr-usrptest cmake: Replace distutils.sysconfig with sysconfig 2022-01-14 14:36:39 -06:00
kitchen_sink utils: remove thread priority elevation 2019-11-26 11:49:34 -08:00
mega_fft MegaFFT: Fixing copyright, whitespace 2015-08-04 15:21:54 -07:00
nirio_programmer cmake: Use new UHDBoost.cmake in init_usrp and tools 2019-10-15 11:44:38 -07:00
uhd_dump uhd_dump: use LIBS instead of LDFLAGS 2014-09-23 13:08:45 -07:00
uhd_txrx_debug_prints debug_prints_tool: Minor cleanup 2014-11-18 13:04:44 +01:00
json_to_zbx_dsa_cal.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
package_source.sh uhd: Create shell script to replace CMake's package_source 2020-04-15 07:48:48 -05:00
README.md tools: Added Balints kitchen sink debug util 2014-10-09 19:56:43 +02:00
usrp_x3xx_fpga_jtag_programmer.sh docs: Changed Xilinx ISE version from 14.4 to 14.7 2014-09-24 18:59:01 -07:00

USRP™ Tools

This folder contains tools that are useful for working with and/or debugging your USRP™ device. Tools in this directory are not part of UHD. They are either stand-alone programs or software to be used in third-party applications.

For UHD™ software tools, look in uhd/host/utils.

List of Tools

__chdr-dissector/__

This is a packet dissector for Wireshark. It allows you to view the details of a Compressed HeaDeR (CHDR) formatted-packet in Wireshark. The USRP™ B2xx and X3xx use the CHDR format.

__uhd_dump/__

This tool can be used with tcpdump to make sense of packet dumps from your network-connected USRP™ device.

__usrp_x3xx_fpga_jtag_programmer.sh__

This tool is to be used with the USRP™ X300 and X310 devices. It allows you to program the X3x0 FPGA via JTAG. Note that loading the FPGA image via JTAG does not store the FPGA in the on-device flash storage. Thus, as soon as you cycle power, the image will be lost. To permanently burn an FPGA image, please refer to uhd/host/utils/usrp_x3xx_fpga_burner.

This tool requires that Xilinx iMPACT has been installed on your system.

__kitchen_sink__

This is a debugging tool designed to test and stress connections to USRP devices.