From c9b35e3b7107ab82c0e3978b7cbfd76ba98e2407 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Wed, 6 Jan 2021 11:34:05 -0600 Subject: Create C++ wrappers for MPM RPC calls This gives us type-safety, as well as allowing us to create unit tests for RFNoC radio_controls without having to create actual RPC servers and clients in the unit tests. This change also fixes a bug in mpmd_mb_controller::set_sync_source, where it was calling the wrong MPM function. --- host/lib/include/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/include/CMakeLists.txt') diff --git a/host/lib/include/CMakeLists.txt b/host/lib/include/CMakeLists.txt index fc1a6c4d5..d2ecd88ee 100644 --- a/host/lib/include/CMakeLists.txt +++ b/host/lib/include/CMakeLists.txt @@ -5,4 +5,9 @@ # include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include_directories(${CMAKE_CURRENT_BINARY_DIR}) +LIBUHD_PYTHON_GEN_SOURCE( + ${CMAKE_CURRENT_SOURCE_DIR}/uhdlib/usrp/common/rpc.py + ${CMAKE_CURRENT_BINARY_DIR}/uhdlib/usrp/common/rpc.hpp +) -- cgit v1.2.3