1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-27 21:16:50 +03:00

More license headers

This commit is contained in:
Ivan Grokhotkov 2014-12-19 01:43:18 +03:00
parent eb98948d49
commit 4cf6737823
14 changed files with 155 additions and 157 deletions

View File

@ -1,27 +1,25 @@
/* /*
HardwareSerial.cpp - Hardware serial library for Wiring HardwareSerial.cpp - esp8266 UART support
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
This library is free software; you can redistribute it and/or Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
modify it under the terms of the GNU Lesser General Public This file is part of the esp8266 core for Arduino environment.
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Modified 23 November 2006 by David A. Mellis
Modified 28 September 2010 by Mark Sproul
Modified 14 August 2012 by Alarus
Modified 3 December 2013 by Matthijs Kooijman
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -19,6 +19,7 @@
Modified 28 September 2010 by Mark Sproul Modified 28 September 2010 by Mark Sproul
Modified 14 August 2012 by Alarus Modified 14 August 2012 by Alarus
Modified 3 December 2013 by Matthijs Kooijman Modified 3 December 2013 by Matthijs Kooijman
Modified 18 December 2014 by Ivan Grokhotkov (esp8266 platform support)
*/ */
#ifndef HardwareSerial_h #ifndef HardwareSerial_h

View File

@ -17,6 +17,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Modified 23 November 2006 by David A. Mellis Modified 23 November 2006 by David A. Mellis
Modified December 2014 by Ivan Grokhotkov
*/ */
#include <stdlib.h> #include <stdlib.h>

View File

@ -3,6 +3,7 @@
...mostly rewritten by Paul Stoffregen... ...mostly rewritten by Paul Stoffregen...
Copyright (c) 2009-10 Hernando Barragan. All rights reserved. Copyright (c) 2009-10 Hernando Barragan. All rights reserved.
Copyright 2011, Paul Stoffregen, paul@pjrc.com Copyright 2011, Paul Stoffregen, paul@pjrc.com
Modified by Ivan Grokhotkov, 2014 - esp8266 support
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public

View File

@ -1,9 +1,23 @@
/* Copyright (c) 2014 Ivan Grokhotkov. All rights reserved. /*
* This file is part of the atproto AT protocol library cbuf.h - Circular buffer implementation
* Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
* Redistribution and use is permitted according to the conditions of the This file is part of the esp8266 core for Arduino environment.
* 3-clause BSD license to be found in the LICENSE file.
*/ This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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 General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __cbuf_h #ifndef __cbuf_h
#define __cbuf_h #define __cbuf_h

View File

@ -1,31 +1,22 @@
///////////////////////////////////////////////////////////////////////////// /*
// cont.S - continuations support for Xtensa call0 ABI
// cont.S: continuations support for Xtensa call0 ABI Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
// Copyright (c) Ivan Grokhotkov 2014 This file is part of the esp8266 core for Arduino environment.
//
// This file is licensed under MIT license This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Permission is hereby granted, free of charge, to any person obtaining License as published by the Free Software Foundation; either
// a copy of this software and associated documentation files (the version 2.1 of the License, or (at your option) any later version.
// "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.
//
/////////////////////////////////////////////////////////////////////////////
This library 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 General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
.text .text
.align 4 .align 4

View File

@ -1,30 +1,22 @@
///////////////////////////////////////////////////////////////////////////// /*
// cont.h - continuations support for Xtensa call0 ABI
// cont.h: continuations support for Xtensa call0 ABI Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
// Copyright (c) Ivan Grokhotkov 2014 This file is part of the esp8266 core for Arduino environment.
//
// This file is licensed under MIT license This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Permission is hereby granted, free of charge, to any person obtaining License as published by the Free Software Foundation; either
// a copy of this software and associated documentation files (the version 2.1 of the License, or (at your option) any later version.
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish, This library is distributed in the hope that it will be useful,
// distribute, sublicense, and/or sell copies of the Software, and to but WITHOUT ANY WARRANTY; without even the implied warranty of
// permit persons to whom the Software is furnished to do so, subject to MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// the following conditions: Lesser General Public License for more details.
//
// The above copyright notice and this permission notice shall be included You should have received a copy of the GNU Lesser General Public
// in all copies or substantial portions of the Software. License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// 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.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef CONT_H_ #ifndef CONT_H_

View File

@ -1,31 +1,22 @@
///////////////////////////////////////////////////////////////////////////// /*
// cont_util.s - continuations support for Xtensa call0 ABI
// cont_util.c: continuations support for Xtensa call0 ABI Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
// Copyright (c) Ivan Grokhotkov 2014 This file is part of the esp8266 core for Arduino environment.
//
// This file is licensed under MIT license This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Permission is hereby granted, free of charge, to any person obtaining License as published by the Free Software Foundation; either
// a copy of this software and associated documentation files (the version 2.1 of the License, or (at your option) any later version.
// "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.
//
/////////////////////////////////////////////////////////////////////////////
This library 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 General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "cont.h" #include "cont.h"

View File

@ -1,7 +1,10 @@
/* /*
main.cpp - Main loop for Arduino sketches main.cpp - platform initialization and context switching
Copyright (c) 2005-2013 Arduino Team. All right reserved. emulation
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either

View File

@ -1,3 +1,24 @@
/*
core_esp8266_noniso.c - nonstandard (but usefull) conversion functions
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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 General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stdlib.h> #include <stdlib.h>
#include "stdlib_noniso.h" #include "stdlib_noniso.h"

View File

@ -1,9 +1,9 @@
/* /*
wiring.c - Partial implementation of the Wiring API for the ATmega8. core_esp8266_wiring.c - implementation of Wiring API for esp8266
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2005-2006 David A. Mellis
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
@ -14,14 +14,12 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General You should have received a copy of the GNU Lesser General Public
Public License along with this library; if not, write to the License along with this library; if not, write to the Free Software
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Boston, MA 02111-1307 USA
$Id$
*/ */
#include "wiring_private.h" #include "wiring_private.h"
#include "ets_sys.h" #include "ets_sys.h"
#include "osapi.h" #include "osapi.h"

View File

@ -1,9 +1,9 @@
/* /*
wiring_analog.c - analog input and output core_esp8266_analog.c - an interface to the esp8266 ADC
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2005-2006 David A. Mellis
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
@ -14,14 +14,9 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General You should have received a copy of the GNU Lesser General Public
Public License along with this library; if not, write to the License along with this library; if not, write to the Free Software
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Boston, MA 02111-1307 USA
Modified 28 September 2010 by Mark Sproul
$Id: wiring.c 248 2007-02-03 15:36:30Z mellis $
*/ */
#include "wiring_private.h" #include "wiring_private.h"

View File

@ -1,9 +1,9 @@
/* /*
wiring_digital.c - digital input and output functions core_esp8266_wiring_digital.c - implementation of Wiring API for esp8266
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2005-2006 David A. Mellis
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
@ -14,14 +14,9 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General You should have received a copy of the GNU Lesser General Public
Public License along with this library; if not, write to the License along with this library; if not, write to the Free Software
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Boston, MA 02111-1307 USA
Modified 28 September 2010 by Mark Sproul
$Id: wiring.c 248 2007-02-03 15:36:30Z mellis $
*/ */
#define ARDUINO_MAIN #define ARDUINO_MAIN

View File

@ -1,9 +1,9 @@
/* /*
wiring_pulse.c - pulseIn() function core_esp8266_wiring_pulse.c - implementation of pulseIn function
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2005-2006 David A. Mellis
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
@ -14,12 +14,9 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General You should have received a copy of the GNU Lesser General Public
Public License along with this library; if not, write to the License along with this library; if not, write to the Free Software
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Boston, MA 02111-1307 USA
$Id: wiring.c 248 2007-02-03 15:36:30Z mellis $
*/ */
#include "wiring_private.h" #include "wiring_private.h"