diff options
author | Josh Blum | 2011-08-17 12:30:09 -0700 |
---|---|---|
committer | Josh Blum | 2011-08-17 12:30:09 -0700 |
commit | fb2f45cdddc41d5aba177204aa419cea3a0aea49 (patch) | |
tree | e2d3195b9782e047518fe1ea9f848346b480cfd4 /gr-howto-write-a-block-cmake/grc | |
parent | e6ed4fa7bb0d253adbf0cf2ae4da7c301b3c971f (diff) | |
parent | 626018eb037808cdc32b5eb1907ae9d5f80d3e55 (diff) | |
download | gnuradio-fb2f45cdddc41d5aba177204aa419cea3a0aea49.tar.gz gnuradio-fb2f45cdddc41d5aba177204aa419cea3a0aea49.tar.bz2 gnuradio-fb2f45cdddc41d5aba177204aa419cea3a0aea49.zip |
Merge branch 'next' into digital
Diffstat (limited to 'gr-howto-write-a-block-cmake/grc')
-rw-r--r-- | gr-howto-write-a-block-cmake/grc/CMakeLists.txt | 24 | ||||
-rw-r--r-- | gr-howto-write-a-block-cmake/grc/howto_square2_ff.xml | 18 | ||||
-rw-r--r-- | gr-howto-write-a-block-cmake/grc/howto_square_ff.xml | 18 |
3 files changed, 60 insertions, 0 deletions
diff --git a/gr-howto-write-a-block-cmake/grc/CMakeLists.txt b/gr-howto-write-a-block-cmake/grc/CMakeLists.txt new file mode 100644 index 000000000..257113079 --- /dev/null +++ b/gr-howto-write-a-block-cmake/grc/CMakeLists.txt @@ -0,0 +1,24 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio 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, or (at your option) +# any later version. +# +# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +INSTALL(FILES + howto_square_ff.xml + howto_square2_ff.xml + DESTINATION share/gnuradio/grc/blocks +) diff --git a/gr-howto-write-a-block-cmake/grc/howto_square2_ff.xml b/gr-howto-write-a-block-cmake/grc/howto_square2_ff.xml new file mode 100644 index 000000000..c58ef0047 --- /dev/null +++ b/gr-howto-write-a-block-cmake/grc/howto_square2_ff.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<block> + <name>Square2</name> + <key>howto_square2_ff</key> + <category>HOWTO</category> + <import>import howto</import> + <make>howto.square2_ff()</make> + + <sink> + <name>in</name> + <type>float</type> + </sink> + + <source> + <name>out</name> + <type>float</type> + </source> +</block> diff --git a/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml b/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml new file mode 100644 index 000000000..34a0b0a3f --- /dev/null +++ b/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<block> + <name>Square</name> + <key>howto_square_ff</key> + <category>HOWTO</category> + <import>import howto</import> + <make>howto.square_ff()</make> + + <sink> + <name>in</name> + <type>float</type> + </sink> + + <source> + <name>out</name> + <type>float</type> + </source> +</block> |