aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/include
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-03-27 17:07:44 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:44 -0800
commit8ac9014d5c30836665378d2d088b5c602162f8ac (patch)
tree21708ce88f72da4818e73afe054b89e7f1589fdd /mpm/include
parent6d332e5ca4a7311406ac285f827c31c9e5b94280 (diff)
downloaduhd-8ac9014d5c30836665378d2d088b5c602162f8ac.tar.gz
uhd-8ac9014d5c30836665378d2d088b5c602162f8ac.tar.bz2
uhd-8ac9014d5c30836665378d2d088b5c602162f8ac.zip
mpm: CMake cleanup, Python code enhancements
- Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing
Diffstat (limited to 'mpm/include')
-rw-r--r--mpm/include/mpm/CMakeLists.txt5
-rw-r--r--mpm/include/mpm/dboards/CMakeLists.txt20
-rw-r--r--mpm/include/mpm/lmk04828/CMakeLists.txt20
-rw-r--r--mpm/include/mpm/mykonos/CMakeLists.txt20
-rw-r--r--mpm/include/mpm/spi/CMakeLists.txt24
5 files changed, 88 insertions, 1 deletions
diff --git a/mpm/include/mpm/CMakeLists.txt b/mpm/include/mpm/CMakeLists.txt
index 348073920..47fd2b2ed 100644
--- a/mpm/include/mpm/CMakeLists.txt
+++ b/mpm/include/mpm/CMakeLists.txt
@@ -16,8 +16,11 @@
#
INSTALL(FILES
net_helper.hpp
- spi_iface.hpp
udev_helper.hpp
xbar_iface.hpp
DESTINATION ${INCLUDE_DIR}/mpm
)
+ADD_SUBDIRECTORY(dboards)
+ADD_SUBDIRECTORY(lmk04828)
+ADD_SUBDIRECTORY(mykonos)
+ADD_SUBDIRECTORY(spi)
diff --git a/mpm/include/mpm/dboards/CMakeLists.txt b/mpm/include/mpm/dboards/CMakeLists.txt
new file mode 100644
index 000000000..b2be87dd7
--- /dev/null
+++ b/mpm/include/mpm/dboards/CMakeLists.txt
@@ -0,0 +1,20 @@
+#
+# Copyright 2017 Ettus Research (National Instruments)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+INSTALL(FILES
+ magnesium_manager.hpp
+ DESTINATION ${INCLUDE_DIR}/mpm/dboards
+)
diff --git a/mpm/include/mpm/lmk04828/CMakeLists.txt b/mpm/include/mpm/lmk04828/CMakeLists.txt
new file mode 100644
index 000000000..35df8d624
--- /dev/null
+++ b/mpm/include/mpm/lmk04828/CMakeLists.txt
@@ -0,0 +1,20 @@
+#
+# Copyright 2017 Ettus Research (National Instruments)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+INSTALL(FILES
+ lmk04828_spi_iface.hpp
+ DESTINATION ${INCLUDE_DIR}/mpm/lmk04828
+)
diff --git a/mpm/include/mpm/mykonos/CMakeLists.txt b/mpm/include/mpm/mykonos/CMakeLists.txt
new file mode 100644
index 000000000..3fe8d1419
--- /dev/null
+++ b/mpm/include/mpm/mykonos/CMakeLists.txt
@@ -0,0 +1,20 @@
+#
+# Copyright 2017 Ettus Research (National Instruments)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+INSTALL(FILES
+ ad937x_ctrl.hpp
+ DESTINATION ${INCLUDE_DIR}/mpm/mykonos
+)
diff --git a/mpm/include/mpm/spi/CMakeLists.txt b/mpm/include/mpm/spi/CMakeLists.txt
new file mode 100644
index 000000000..f334678d1
--- /dev/null
+++ b/mpm/include/mpm/spi/CMakeLists.txt
@@ -0,0 +1,24 @@
+#
+# Copyright 2017 Ettus Research (National Instruments)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+INSTALL(FILES
+ adi_ctrl.hpp
+ mock_spi.h
+ spidev_iface.hpp
+ spi_iface.hpp
+ spi_lock.hpp
+ DESTINATION ${INCLUDE_DIR}/mpm/spi
+)