Skip to content

Commit 30f23fb

Browse files
committed
Other license cleanup
1 parent 97f1cf6 commit 30f23fb

File tree

8 files changed

+291
-273
lines changed

8 files changed

+291
-273
lines changed

cores/arduino/avr/dtostrf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
22
dtostrf - Emulation for dtostrf function from avr-libc
3-
Copyright (c) 2014 Arduino. All rights reserved.
4-
Written by Cristian Maglie <c.maglie@bug.st>
3+
Copyright (c) 2015 Arduino LLC. All rights reserved.
54
65
This library is free software; you can redistribute it and/or
76
modify it under the terms of the GNU Lesser General Public

cores/arduino/avr/dtostrf.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
22
dtostrf - Emulation for dtostrf function from avr-libc
33
Copyright (c) 2015 Arduino LLC. All rights reserved.
4-
Written by Cristian Maglie <c.maglie@arduino.cc>
54
65
This library is free software; you can redistribute it and/or
76
modify it under the terms of the GNU Lesser General Public
@@ -24,7 +23,7 @@
2423
extern "C" {
2524
#endif
2625

27-
char *dtostrf (double val, signed char width, unsigned char prec, char *sout);
26+
char *dtostrf(double val, signed char width, unsigned char prec, char *sout);
2827

2928
#ifdef __cplusplus
3029
}

cores/arduino/avr/interrupt.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2014 Arduino. All right reserved.
2+
Copyright (c) 2015 Arduino LCC. All right reserved.
33
44
This library is free software; you can redistribute it and/or
55
modify it under the terms of the GNU Lesser General Public
@@ -15,3 +15,9 @@
1515
License along with this library; if not, write to the Free Software
1616
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1717
*/
18+
19+
/*
20+
Empty file.
21+
This file is here to allow compatibility with sketches (made for AVR)
22+
that includes <AVR/interrupt.h>
23+
*/

cores/arduino/avr/pgmspace.h

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
/*
2-
Copyright (c) 2014 Arduino. All right reserved.
2+
pgmspace.h - Definitions for compatibility with AVR pgmspace macros
33
4-
This library is free software; you can redistribute it and/or
5-
modify it under the terms of the GNU Lesser General Public
6-
License as published by the Free Software Foundation; either
7-
version 2.1 of the License, or (at your option) any later version.
4+
Copyright (c) 2015 Arduino LLC
85
9-
This library is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12-
See the GNU Lesser General Public License for more details.
6+
Based on work of Paul Stoffregen on Teensy 3 (http://pjrc.com)
137
14-
You should have received a copy of the GNU Lesser General Public
15-
License along with this library; if not, write to the Free Software
16-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE
1725
*/
1826

1927
#ifndef __PGMSPACE_H_

libraries/SPI/SPI.cpp

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
/*
2-
* SPI Master library for Arduino.
2+
* SPI Master library for Arduino Zero.
33
* Copyright (c) 2015 Arduino LLC
44
*
5-
* This file is free software; you can redistribute it and/or modify
6-
* it under the terms of either the GNU General Public License version 2
7-
* or the GNU Lesser General Public License version 2.1, both as
8-
* published by the Free Software Foundation.
5+
* This library is free software; you can redistribute it and/or
6+
* modify it under the terms of the GNU Lesser General Public
7+
* License as published by the Free Software Foundation; either
8+
* version 2.1 of the License, or (at your option) any later version.
9+
*
10+
* This library is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
* Lesser General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU Lesser General Public
16+
* License along with this library; if not, write to the Free Software
17+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
918
*/
1019

1120
#include "SPI.h"

libraries/SPI/SPI.h

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
/*
2-
* SPI Master library for Arduino.
3-
* Copyright (c) 2010 by Cristian Maglie <c.maglie@bug.st>
2+
* SPI Master library for Arduino Zero.
43
* Copyright (c) 2015 Arduino LLC
54
*
6-
* This file is free software; you can redistribute it and/or modify
7-
* it under the terms of either the GNU General Public License version 2
8-
* or the GNU Lesser General Public License version 2.1, both as
9-
* published by the Free Software Foundation.
5+
* This library is free software; you can redistribute it and/or
6+
* modify it under the terms of the GNU Lesser General Public
7+
* License as published by the Free Software Foundation; either
8+
* version 2.1 of the License, or (at your option) any later version.
9+
*
10+
* This library is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
* Lesser General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU Lesser General Public
16+
* License along with this library; if not, write to the Free Software
17+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1018
*/
1119

1220
#ifndef _SPI_H_INCLUDED

0 commit comments

Comments
 (0)