aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/multi_usrp.cpp8
-rw-r--r--host/lib/usrp/multi_usrp_rfnoc.cpp5
2 files changed, 12 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index db21255ae..202f8b2df 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -2249,7 +2249,13 @@ public:
));
}
- // The next three methods are only for RFNoC devices
+ // The next four methods are only for RFNoC devices
+ std::vector<std::string> get_gpio_src_banks(const size_t)
+ {
+ throw uhd::not_implemented_error(
+ "get_gpio_src_banks() not implemented for this motherboard!");
+ }
+
std::vector<std::string> get_gpio_srcs(const std::string&, const size_t)
{
throw uhd::not_implemented_error(
diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp
index 99c07dc8c..b2070c53d 100644
--- a/host/lib/usrp/multi_usrp_rfnoc.cpp
+++ b/host/lib/usrp/multi_usrp_rfnoc.cpp
@@ -1956,6 +1956,11 @@ public:
return radio_bank_pair.first->get_gpio_attr(radio_bank_pair.second, attr);
}
+ std::vector<std::string> get_gpio_src_banks(const size_t mboard)
+ {
+ return get_mbc(mboard)->get_gpio_banks();
+ }
+
std::vector<std::string> get_gpio_srcs(const std::string& bank, const size_t mboard)
{
return get_mbc(mboard)->get_gpio_srcs(bank);