diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-06-04 22:13:27 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2021-06-08 22:07:58 +0200 |
commit | f29be5398081e78ed0edeaf712cc608e770f2523 (patch) | |
tree | 2f872185ae4644f1f38c74d14507c2c00a138d11 /gr-uhd/python/uhd/bindings/python_bindings.cc | |
parent | 8b33608eb6144a9a092f7ba90722865cb1f6a430 (diff) |
uhd: pybind rfnoc_graph,_rx/tx_streamer
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-uhd/python/uhd/bindings/python_bindings.cc')
-rw-r--r-- | gr-uhd/python/uhd/bindings/python_bindings.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-uhd/python/uhd/bindings/python_bindings.cc b/gr-uhd/python/uhd/bindings/python_bindings.cc index e32d1b48cc..70b819df92 100644 --- a/gr-uhd/python/uhd/bindings/python_bindings.cc +++ b/gr-uhd/python/uhd/bindings/python_bindings.cc @@ -22,6 +22,9 @@ void bind_amsg_source(py::module&); void bind_usrp_block(py::module&); void bind_usrp_sink(py::module&); void bind_usrp_source(py::module&); +void bind_rfnoc_graph(py::module&); +void bind_rfnoc_rx_streamer(py::module&); +void bind_rfnoc_tx_streamer(py::module&); // We need this hack because import_array() returns NULL // for newer Python versions. @@ -48,6 +51,12 @@ PYBIND11_MODULE(uhd_python, m) bind_usrp_sink(m); bind_usrp_source(m); +#ifdef GR_ENABLE_UHD_RFNOC + bind_rfnoc_graph(m); + bind_rfnoc_rx_streamer(m); + bind_rfnoc_tx_streamer(m); +#endif + m.def( "get_version_string", []() { return ::uhd::get_version_string(); }, |