From 2e3a645cb081c91f4f79c151470e20d1a3ae2ca2 Mon Sep 17 00:00:00 2001
From: ashlaban <ketost@gmail.com>
Date: Tue, 15 Nov 2016 16:31:34 +0100
Subject: [PATCH] Add license to each file for clarity

---
 apps/decawave-demo/dw-sync-demo.c     | 22 ++++++++++++++++++++--
 apps/decawave-range/dw-range-anchor.c | 18 ++++++++++++++++++
 apps/decawave-range/dw-range-tag.c    | 22 ++++++++++++++++++++--
 apps/decawave-range/dw-range.c        | 22 ++++++++++++++++++++--
 apps/decawave-range/dw-range.h        | 18 ++++++++++++++++++
 apps/decawave-range/dwFrameTypes.c    | 18 ++++++++++++++++++
 apps/decawave-range/dwFrameTypes.h    | 18 ++++++++++++++++++
 src/dw1000-base.c                     | 18 ++++++++++++++++++
 src/dw1000-base.h                     | 18 ++++++++++++++++++
 src/dw1000-hal.h                      | 18 ++++++++++++++++++
 src/dw1000-spi.c                      | 18 ++++++++++++++++++
 src/dw1000-spi.h                      | 18 ++++++++++++++++++
 src/example.h                         | 18 ++++++++++++++++++
 src/platform/mulle/mulle-hal.c        | 18 ++++++++++++++++++
 src/platform/mulle/mulle-spi.c        | 18 ++++++++++++++++++
 15 files changed, 276 insertions(+), 6 deletions(-)

diff --git a/apps/decawave-demo/dw-sync-demo.c b/apps/decawave-demo/dw-sync-demo.c
index ff3d431..d430cbe 100644
--- a/apps/decawave-demo/dw-sync-demo.c
+++ b/apps/decawave-demo/dw-sync-demo.c
@@ -1,6 +1,24 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 /**
-* \file
- * 	Minimal working example, decawave-driver.
+ * \file
+ * 	Minimal working example, dw1000 driver.
  * \author
  *	Kim Albertsson
  */
diff --git a/apps/decawave-range/dw-range-anchor.c b/apps/decawave-range/dw-range-anchor.c
index 687b0dc..123d023 100644
--- a/apps/decawave-range/dw-range-anchor.c
+++ b/apps/decawave-range/dw-range-anchor.c
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 /**
  * \file 	Decawace uwb demo application
  * \author	Kim Albertsson
diff --git a/apps/decawave-range/dw-range-tag.c b/apps/decawave-range/dw-range-tag.c
index 28e41f0..6a1cc2e 100644
--- a/apps/decawave-range/dw-range-tag.c
+++ b/apps/decawave-range/dw-range-tag.c
@@ -1,6 +1,24 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 /**
-* \file
- * 	Decawace uwb demo application
+ * \file
+ * 	Decawave uwb demo application
  * \author
  *	Kim Albertsson
  */
diff --git a/apps/decawave-range/dw-range.c b/apps/decawave-range/dw-range.c
index 230eeab..e4585b0 100644
--- a/apps/decawave-range/dw-range.c
+++ b/apps/decawave-range/dw-range.c
@@ -1,6 +1,24 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 /**
-* \file
- * 	Decawace uwb demo application
+ * \file
+ * 	Demo implementation of ranging for the Decawave dw1000 chip.
  * \author
  *	Kim Albertsson
  */
diff --git a/apps/decawave-range/dw-range.h b/apps/decawave-range/dw-range.h
index 00579ac..42c2cca 100644
--- a/apps/decawave-range/dw-range.h
+++ b/apps/decawave-range/dw-range.h
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef DW_RANGE_H
 #define DW_RANGE_H
 
diff --git a/apps/decawave-range/dwFrameTypes.c b/apps/decawave-range/dwFrameTypes.c
index b1d1d5d..0b36add 100644
--- a/apps/decawave-range/dwFrameTypes.c
+++ b/apps/decawave-range/dwFrameTypes.c
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "dwFrameTypes.h"
 
 #include "dw1000-base.h"
diff --git a/apps/decawave-range/dwFrameTypes.h b/apps/decawave-range/dwFrameTypes.h
index 3cd5792..1ca9e6a 100644
--- a/apps/decawave-range/dwFrameTypes.h
+++ b/apps/decawave-range/dwFrameTypes.h
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef DW_FRAME_TYPE_H
 #define DW_FRAME_TYPE_H
 
diff --git a/src/dw1000-base.c b/src/dw1000-base.c
index 7297cde..de7e5c0 100644
--- a/src/dw1000-base.c
+++ b/src/dw1000-base.c
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "dw1000-base.h"
 
 /**
diff --git a/src/dw1000-base.h b/src/dw1000-base.h
index da04846..dbf1f78 100644
--- a/src/dw1000-base.h
+++ b/src/dw1000-base.h
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef DW1000_BASE_H
 #define DW1000_BASE_H
 
diff --git a/src/dw1000-hal.h b/src/dw1000-hal.h
index 34e1155..b62efba 100644
--- a/src/dw1000-hal.h
+++ b/src/dw1000-hal.h
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef DW1000_HAL_H
 #define DW1000_HAL_H
 
diff --git a/src/dw1000-spi.c b/src/dw1000-spi.c
index 983735f..ed79ba5 100644
--- a/src/dw1000-spi.c
+++ b/src/dw1000-spi.c
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "dw1000-spi.h"
 
 /**
diff --git a/src/dw1000-spi.h b/src/dw1000-spi.h
index 9913bc4..3080395 100644
--- a/src/dw1000-spi.h
+++ b/src/dw1000-spi.h
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef DW_SPI_H
 #define DW_SPI_H
 
diff --git a/src/example.h b/src/example.h
index 9bf9d3f..6e1b15b 100644
--- a/src/example.h
+++ b/src/example.h
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 /**
  * @brief DMA callback pointer.
  */
diff --git a/src/platform/mulle/mulle-hal.c b/src/platform/mulle/mulle-hal.c
index d9ec4c5..a1e0328 100644
--- a/src/platform/mulle/mulle-hal.c
+++ b/src/platform/mulle/mulle-hal.c
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 /**
  * \file mulle-hal.c
  * \author Kim Albertsson
diff --git a/src/platform/mulle/mulle-spi.c b/src/platform/mulle/mulle-spi.c
index 50bcbd8..a07f695 100644
--- a/src/platform/mulle/mulle-spi.c
+++ b/src/platform/mulle/mulle-spi.c
@@ -1,3 +1,21 @@
+/*
+ * dw1000, driver for decawave dw1000 UVB chip
+ *  Copyright (C) 2014  Kim Albertsson
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU Lesser 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 Lesser Public License for more details.
+ *  
+ *  You should have received a copy of the GNU Lesser Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "dw1000-spi.h"
 #include "MK60N512VMD100.h"
 
-- 
GitLab