summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/doxygen/Doxyfile.in6
-rw-r--r--gr-uhd/lib/Makefile.am8
-rw-r--r--gr-uhd/swig/uhd_swig.i12
-rw-r--r--usrp/host/include/usrp/usrp_basic.h2
4 files changed, 25 insertions, 3 deletions
diff --git a/docs/doxygen/Doxyfile.in b/docs/doxygen/Doxyfile.in
index 243fa00bf..f12dd61b7 100644
--- a/docs/doxygen/Doxyfile.in
+++ b/docs/doxygen/Doxyfile.in
@@ -587,7 +587,7 @@ EXCLUDE = @abs_top_builddir@/docs/doxygen/html \
@abs_top_builddir@/docs/doxygen/xml-swig \
@abs_top_builddir@/docs/doxygen/other/doxypy.py \
@abs_top_builddir@/dtools \
- @abs_top_builddir@/gcell/ibm \
+ @abs_top_srcdir@/gcell/ibm \
@abs_top_builddir@/gnuradio-core/src/lib/bug_work_around_6.cc \
@abs_top_builddir@/gnuradio-core/src/lib/filter/assembly.h \
@abs_top_builddir@/gnuradio-core/src/lib/filter/generate_all.py \
@@ -666,7 +666,9 @@ EXCLUDE = @abs_top_builddir@/docs/doxygen/html \
@abs_top_builddir@/usrp/host/misc \
@abs_top_builddir@/usrp/host/swig \
@abs_top_builddir@/usrp2/firmware \
- @abs_top_builddir@/usrp2/fpga
+ @abs_top_srcdir@/usrp2/firmware \
+ @abs_top_builddir@/usrp2/fpga \
+ @abs_top_srcdir@/usrp2/fpga
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
diff --git a/gr-uhd/lib/Makefile.am b/gr-uhd/lib/Makefile.am
index b4b1abfc6..eb2ba4a17 100644
--- a/gr-uhd/lib/Makefile.am
+++ b/gr-uhd/lib/Makefile.am
@@ -53,4 +53,12 @@ grinclude_HEADERS = \
uhd_single_usrp_source.h \
uhd_single_usrp_sink.h
+# add the deprecated headers
+grinclude_HEADERS += \
+ uhd_mimo_source.h \
+ uhd_mimo_sink.h \
+ uhd_simple_source.h \
+ uhd_simple_sink.h
+
+
noinst_HEADERS =
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index b3abf29be..7344f7a72 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -66,6 +66,7 @@ namespace std {
// used types
////////////////////////////////////////////////////////////////////////
%include <uhd/config.hpp>
+%include <uhd/utils/pimpl.hpp>
%include <uhd/types/ranges.hpp>
%include <uhd/types/tune_request.hpp>
%include <uhd/types/tune_result.hpp>
@@ -73,6 +74,17 @@ namespace std {
%include <uhd/types/time_spec.hpp>
%include <uhd/types/clock_config.hpp>
+//Re-create range typedefs here with %template as they are not imported.
+//Replicate all the levels of templated inheritance so swig understands.
+
+%template(float_range_t) uhd::range_t<float>;
+%template(_float_range_vector_t) std::vector<uhd::range_t<float> >;
+%template(gain_range_t) uhd::meta_range_t<float>;
+
+%template(double_range_t) uhd::range_t<double>;
+%template(_double_range_vector_t) std::vector<uhd::range_t<double> >;
+%template(freq_range_t) uhd::meta_range_t<double>;
+
////////////////////////////////////////////////////////////////////////
// block magic
////////////////////////////////////////////////////////////////////////
diff --git a/usrp/host/include/usrp/usrp_basic.h b/usrp/host/include/usrp/usrp_basic.h
index c24630eb6..b76493ea4 100644
--- a/usrp/host/include/usrp/usrp_basic.h
+++ b/usrp/host/include/usrp/usrp_basic.h
@@ -88,7 +88,7 @@ protected:
*/
std::vector< std::vector<db_base_sptr> > d_db;
- //! One time call, made only only from usrp_standard_*::make after shared_ptr is created.
+ // One time call, made only only from usrp_standard_*::make after shared_ptr is created.
void init_db(usrp_basic_sptr u);