Skip to content

Useful tools (for myself) from the UHD host library

License

Notifications You must be signed in to change notification settings

yagoliz/usrp-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USRP tools

This repository contains some of the UHD library's host utilities/examples that I separated from the UHD host libraries. Also it's a way for me to experiment with Meson :).

Sources

The src directory contains the following executables:

  • query_gpsdo_sensors.cc: To detect whether your USRP has a GPSDO or not
  • sync_to_gps.cc: To test that you can align GPSDO time to USRP's internal clock.
  • rx_timed_samples_gpsdo.cc: To test that you can obtain timed samples aligned to internal or GPS time.
  • rx_timed_samples_to_file.cc: To store raw IQ data with timing information.

Building

Prerequisites

You'll need to install the udh and boost-program-options libraries. Also you will need meson and a compiler toolchain. For example on Debian/Ubuntu based systems these should be achieved with:

sudo apt install meson build-essential libboost-dev libboost-program-options-dev libuhd-dev nlohmann-json3-dev python3-uhd

Compiling

On the root directory run:

meson setup builddir

Then navigate to the build directory and run:

cd builddir && meson compile

and that should do the trick!

About

Useful tools (for myself) from the UHD host library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published