aboutsummaryrefslogtreecommitdiffstats
path: root/tools/uhd_dump
diff options
context:
space:
mode:
Diffstat (limited to 'tools/uhd_dump')
-rw-r--r--tools/uhd_dump/Makefile18
-rw-r--r--tools/uhd_dump/chdr_log.c17
-rw-r--r--tools/uhd_dump/uhd_dump.c16
-rw-r--r--tools/uhd_dump/uhd_dump.h18
-rw-r--r--tools/uhd_dump/usrp3_regs.h16
5 files changed, 81 insertions, 4 deletions
diff --git a/tools/uhd_dump/Makefile b/tools/uhd_dump/Makefile
index 93181570b..b793776d4 100644
--- a/tools/uhd_dump/Makefile
+++ b/tools/uhd_dump/Makefile
@@ -1,12 +1,26 @@
+# Copyright 2013-2014 Ettus Research LLC
+#
+# 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.
+
INCLUDES = usrp3_regs.h uhd_dump.h
BINARIES = chdr_log
-OBJECTS = uhd_dump.o
+OBJECTS = uhd_dump.o
CFLAGS = -g -O0 -Wall
-LDFLAGS = -lpcap -lm
+LDFLAGS = -lpcap -lm
CC = cc
diff --git a/tools/uhd_dump/chdr_log.c b/tools/uhd_dump/chdr_log.c
index 9a0834e9b..77473b895 100644
--- a/tools/uhd_dump/chdr_log.c
+++ b/tools/uhd_dump/chdr_log.c
@@ -1,3 +1,20 @@
+//
+// Copyright 2013-2014 Ettus Research LLC
+//
+// 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/>.
+//
+
#include <stdio.h>
#include <stdlib.h>
#include <pcap.h>
diff --git a/tools/uhd_dump/uhd_dump.c b/tools/uhd_dump/uhd_dump.c
index 3238d72cf..833eca911 100644
--- a/tools/uhd_dump/uhd_dump.c
+++ b/tools/uhd_dump/uhd_dump.c
@@ -1,3 +1,19 @@
+//
+// Copyright 2013-2014 Ettus Research LLC
+//
+// 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/>.
+//
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/uhd_dump/uhd_dump.h b/tools/uhd_dump/uhd_dump.h
index 2c36f9a39..3a6ac4ef1 100644
--- a/tools/uhd_dump/uhd_dump.h
+++ b/tools/uhd_dump/uhd_dump.h
@@ -1,9 +1,23 @@
+//
+// Copyright 2013-2014 Ettus Research LLC
+//
+// 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/>.
+//
#ifndef _UHD_DUMP_H_
#define _UHD_DUMP_H_
-
-
#define FALSE 0
#define TRUE 1
#define UNKNOWN 2
diff --git a/tools/uhd_dump/usrp3_regs.h b/tools/uhd_dump/usrp3_regs.h
index 5e3fc1cac..4ec147b52 100644
--- a/tools/uhd_dump/usrp3_regs.h
+++ b/tools/uhd_dump/usrp3_regs.h
@@ -1,3 +1,19 @@
+//
+// Copyright 2013-2014 Ettus Research LLC
+//
+// 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/>.
+//
const struct radio_ctrl_names reg_list[] =
{