-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 13 additions & 3 deletions
16
ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
ham/uhd/patches/patch-lib_usrp_cores_rx__frontend__core__3000.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$NetBSD: patch-lib_usrp_cores_rx__frontend__core__3000.cpp,v 1.1 2021/04/24 16:34:54 tnn Exp $ | ||
|
||
libuhd.so.3.15.0: undefined reference to `int boost::math::sign<double>(double const&)' | ||
--- lib/usrp/cores/rx_frontend_core_3000.cpp.orig 2020-01-01 04:21:49.000000000 +0000 | ||
+++ lib/usrp/cores/rx_frontend_core_3000.cpp | ||
@@ -13,6 +13,7 @@ | ||
#include <boost/assign/list_of.hpp> | ||
#include <boost/bind.hpp> | ||
#include <boost/math/special_functions/round.hpp> | ||
+#include <boost/math/special_functions/sign.hpp> | ||
using namespace uhd; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$NetBSD: patch-lib_usrp_usrp2_usrp2__impl.cpp,v 1.1 2021/04/24 16:34:54 tnn Exp $ | ||
|
||
libuhd.so.3.15.0: undefined reference to `int boost::math::sign<double>(double const&)' | ||
--- lib/usrp/usrp2/usrp2_impl.cpp.orig 2020-01-01 04:21:49.000000000 +0000 | ||
+++ lib/usrp/usrp2/usrp2_impl.cpp | ||
@@ -835,6 +835,9 @@ void usrp2_impl::set_tx_fe_corrections(c | ||
} | ||
} | ||
+#include <boost/math/special_functions/round.hpp> | ||
+#include <boost/math/special_functions/sign.hpp> | ||
+ | ||
double usrp2_impl::set_tx_dsp_freq( | ||
const std::string &mb, | ||
const double freq_ | ||
@@ -878,8 +881,6 @@ meta_range_t usrp2_impl::get_tx_dsp_freq | ||
); | ||
} | ||
-#include <boost/math/special_functions/round.hpp> | ||
-#include <boost/math/special_functions/sign.hpp> | ||
void usrp2_impl::update_clock_source(const std::string &mb, const std::string &source){ | ||
//NOTICE: U2_REG_MISC_CTRL_CLOCK is on the wb clock, and cannot be set from fifo_ctrl |