From 8ac9014d5c30836665378d2d088b5c602162f8ac Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Mon, 27 Mar 2017 17:07:44 -0700 Subject: mpm: CMake cleanup, Python code enhancements - Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing --- mpm/include/mpm/CMakeLists.txt | 5 ++++- mpm/include/mpm/dboards/CMakeLists.txt | 20 ++++++++++++++++++++ mpm/include/mpm/lmk04828/CMakeLists.txt | 20 ++++++++++++++++++++ mpm/include/mpm/mykonos/CMakeLists.txt | 20 ++++++++++++++++++++ mpm/include/mpm/spi/CMakeLists.txt | 24 ++++++++++++++++++++++++ 5 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 mpm/include/mpm/dboards/CMakeLists.txt create mode 100644 mpm/include/mpm/lmk04828/CMakeLists.txt create mode 100644 mpm/include/mpm/mykonos/CMakeLists.txt create mode 100644 mpm/include/mpm/spi/CMakeLists.txt (limited to 'mpm/include') 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 . +# +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 . +# +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 . +# +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 . +# +INSTALL(FILES + adi_ctrl.hpp + mock_spi.h + spidev_iface.hpp + spi_iface.hpp + spi_lock.hpp + DESTINATION ${INCLUDE_DIR}/mpm/spi +) -- cgit v1.2.3