From 745859172b09556483805cce0e666ab844c5ef58 Mon Sep 17 00:00:00 2001 From: Sami Kankaristo Date: Sat, 27 Apr 2019 17:22:44 +0300 Subject: [PATCH] Add LICENSE and mention it in all source files --- Adafruit_BME280.cpp | 1 + Adafruit_BME280.h | 1 + LICENSE | 27 +++++++++++++++++++ .../advancedsettings/advancedsettings.ino | 3 ++- examples/bme280test/bme280test.ino | 3 ++- 5 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/Adafruit_BME280.cpp b/Adafruit_BME280.cpp index b4cd953..1f5ce32 100644 --- a/Adafruit_BME280.cpp +++ b/Adafruit_BME280.cpp @@ -24,6 +24,7 @@ * @section license License * * BSD license, all text here must be included in any redistribution. + * See the LICENSE file for details. * */ diff --git a/Adafruit_BME280.h b/Adafruit_BME280.h index 4f8cd0f..5aed6d5 100644 --- a/Adafruit_BME280.h +++ b/Adafruit_BME280.h @@ -14,6 +14,7 @@ * Written by Kevin "KTOWN" Townsend for Adafruit Industries. * * BSD license, all text here must be included in any redistribution. + * See the LICENSE file for details. * */ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5c805c5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2019, Kevin "KTOWN" Townsend for Adafruit Industries +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Adafruit Industries nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + diff --git a/examples/advancedsettings/advancedsettings.ino b/examples/advancedsettings/advancedsettings.ino index 177fbbe..b4f0810 100644 --- a/examples/advancedsettings/advancedsettings.ino +++ b/examples/advancedsettings/advancedsettings.ino @@ -13,6 +13,7 @@ Written by Limor Fried & Kevin Townsend for Adafruit Industries. BSD license, all text above must be included in any redistribution + See the LICENSE file for details. ***************************************************************************/ #include @@ -155,4 +156,4 @@ void printValues() { Serial.println(" %"); Serial.println(); -} \ No newline at end of file +} diff --git a/examples/bme280test/bme280test.ino b/examples/bme280test/bme280test.ino index e8b5563..1ada946 100644 --- a/examples/bme280test/bme280test.ino +++ b/examples/bme280test/bme280test.ino @@ -13,6 +13,7 @@ Written by Limor Fried & Kevin Townsend for Adafruit Industries. BSD license, all text above must be included in any redistribution + See the LICENSE file for details. ***************************************************************************/ #include @@ -79,4 +80,4 @@ void printValues() { Serial.println(" %"); Serial.println(); -} \ No newline at end of file +}