diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..57c44f7 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,112 @@ +Copyright (c) Thorsten von Eicken, 2015 +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. 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. + +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 +HOLDER 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. + +--------------------------------------------------------------------- + +Portions of this software are derived from esphttpd and have the following +license: + +"THE BEER-WARE LICENSE" (Revision 42): +Jeroen Domburg wrote this file. As long as you retain +this notice you can do whatever you want with this stuff. If we meet some day, +and you think this stuff is worth it, you can buy me a beer in return. + +--------------------------------------------------------------------- + +Portions of this software are derived from Espressif's SDK and carry the +following copyright notice: + +This file is part of Espressif's AT+ command set program. +Copyright (C) 2013 - 2016, Espressif Systems + +This program is free software: you can redistribute it and/or modify +it under the terms of version 3 of the GNU General Public License as +published by the Free Software Foundation. + +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 . + +--------------------------------------------------------------------- + +The Pure CSS portions of this software carry the following license: + +Copyright 2014 Yahoo! Inc. 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 the Yahoo! Inc. 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 YAHOO! INC. 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. + +--------------------------------------------------------------------- + +Normalize.css used in this firmware carries the following license: + +Copyright (c) Nicolas Gallagher and Jonathan Neal + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/httpd/httpd.c b/httpd/httpd.c index e265f93..85ffc8c 100644 --- a/httpd/httpd.c +++ b/httpd/httpd.c @@ -9,6 +9,8 @@ Esp8266 http server - core routines * this notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a beer in return. * ---------------------------------------------------------------------------- + * Modified and enhanced by Thorsten von Eicken in 2015 + * ---------------------------------------------------------------------------- */ diff --git a/httpd/httpdespfs.c b/httpd/httpdespfs.c index 861e995..0089dc5 100644 --- a/httpd/httpdespfs.c +++ b/httpd/httpdespfs.c @@ -9,6 +9,8 @@ Connector to let httpd use the espfs filesystem to serve the files in it. * this notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a beer in return. * ---------------------------------------------------------------------------- + * Modified and enhanced by Thorsten von Eicken in 2015 + * ---------------------------------------------------------------------------- */ #include diff --git a/serial/console.c b/serial/console.c index f78fd8b..5511e8a 100644 --- a/serial/console.c +++ b/serial/console.c @@ -1,3 +1,5 @@ +// Copyright 2015 by Thorsten von Eicken, see LICENSE.txt + #include #include "uart.h" #include "cgi.h" diff --git a/serial/serbridge.c b/serial/serbridge.c index 20a0912..b3c48c9 100644 --- a/serial/serbridge.c +++ b/serial/serbridge.c @@ -1,3 +1,5 @@ +// Copyright 2015 by Thorsten von Eicken, see LICENSE.txt + #include "espmissingincludes.h" #include "c_types.h" #include "user_interface.h" diff --git a/serial/serled.c b/serial/serled.c index 413fa1a..a87896b 100644 --- a/serial/serled.c +++ b/serial/serled.c @@ -1,3 +1,5 @@ +// Copyright 2015 by Thorsten von Eicken, see LICENSE.txt + #include #include #include diff --git a/serial/uart.c b/serial/uart.c index 23fb3b1..4546e3e 100644 --- a/serial/uart.c +++ b/serial/uart.c @@ -14,6 +14,8 @@ * * You should have received a copy of the GNU General Public License along * with this program. If not, see . + * ---------------------------------------------------------------------------- + * Heavily modified and enhanced by Thorsten von Eicken in 2015 */ #include "espmissingincludes.h" #include "ets_sys.h" diff --git a/user/cgiflash.c b/user/cgiflash.c index 0c578c5..5e1cb63 100644 --- a/user/cgiflash.c +++ b/user/cgiflash.c @@ -9,6 +9,8 @@ Some flash handling cgi routines. Used for reading the existing flash and updati * this notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a beer in return. * ---------------------------------------------------------------------------- + * Heavily modified and enhanced by Thorsten von Eicken in 2015 + * ---------------------------------------------------------------------------- */ diff --git a/user/cgiwifi.c b/user/cgiwifi.c index fcbe8c6..fd8c467 100644 --- a/user/cgiwifi.c +++ b/user/cgiwifi.c @@ -9,6 +9,8 @@ Cgi/template routines for the /wifi url. * this notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a beer in return. * ---------------------------------------------------------------------------- + * Heavily modified and enhanced by Thorsten von Eicken in 2015 + * ---------------------------------------------------------------------------- */ diff --git a/user/config.c b/user/config.c index 6163542..1f659f8 100644 --- a/user/config.c +++ b/user/config.c @@ -1,3 +1,4 @@ +// Copyright 2015 by Thorsten von Eicken, see LICENSE.txt /* Configuration stored in flash */ #include diff --git a/user/log.c b/user/log.c index 8161660..cf63760 100644 --- a/user/log.c +++ b/user/log.c @@ -1,3 +1,5 @@ +// Copyright 2015 by Thorsten von Eicken, see LICENSE.txt + #include #include "uart.h" #include "cgi.h" diff --git a/user/status.c b/user/status.c index 4abaf63..23f693f 100644 --- a/user/status.c +++ b/user/status.c @@ -1,3 +1,5 @@ +// Copyright 2015 by Thorsten von Eicken, see LICENSE.txt + #include #include "config.h" #include "serled.h" diff --git a/user/user_main.c b/user/user_main.c index b1b3f7c..974db49 100644 --- a/user/user_main.c +++ b/user/user_main.c @@ -1,5 +1,3 @@ - - /* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): @@ -7,6 +5,8 @@ * this notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a beer in return. * ---------------------------------------------------------------------------- + * Heavily modified and enhanced by Thorsten von Eicken in 2015 + * ---------------------------------------------------------------------------- */