Skip to content

Commit 4a02bfc

Browse files
authored
Merge pull request #234 from pillo79/license_cleanup
Use the LGPL 2.1 or later license on all files
2 parents 4df98f4 + 3f3e8bd commit 4a02bfc

File tree

108 files changed

+548
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+548
-42
lines changed

LICENSE

+176
Large diffs are not rendered by default.

api/ArduinoAPI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
This library is distributed in the hope that it will be useful,
1111
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1313
Lesser General Public License for more details.
1414
1515
You should have received a copy of the GNU Lesser General Public

api/CanMsg.cpp

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
/*
2-
* This file is free software; you can redistribute it and/or modify
3-
* it under the terms of either the GNU General Public License version 2
4-
* or the GNU Lesser General Public License version 2.1, both as
5-
* published by the Free Software Foundation.
6-
*/
2+
CanMsg.cpp - Library for CAN message handling
3+
Copyright (c) 2023 Arduino. All right reserved.
4+
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
18+
*/
719

820
/**************************************************************************************
921
* INCLUDE

api/CanMsg.h

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
/*
2-
* This file is free software; you can redistribute it and/or modify
3-
* it under the terms of either the GNU General Public License version 2
4-
* or the GNU Lesser General Public License version 2.1, both as
5-
* published by the Free Software Foundation.
6-
*/
2+
CanMsg.h - Library for CAN message handling
3+
Copyright (c) 2023 Arduino. All right reserved.
4+
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
18+
*/
719

820
#ifndef ARDUINOCORE_API_CAN_MSG_H_
921
#define ARDUINOCORE_API_CAN_MSG_H_

api/CanMsgRingbuffer.cpp

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
/*
2-
* This file is free software; you can redistribute it and/or modify
3-
* it under the terms of either the GNU General Public License version 2
4-
* or the GNU Lesser General Public License version 2.1, both as
5-
* published by the Free Software Foundation.
6-
*/
2+
CanMsgRingbuffer.cpp - Library for CAN message handling
3+
Copyright (c) 2023 Arduino. All right reserved.
4+
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
18+
*/
719

820
/**************************************************************************************
921
* INCLUDE

api/CanMsgRingbuffer.h

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
/*
2-
* This file is free software; you can redistribute it and/or modify
3-
* it under the terms of either the GNU General Public License version 2
4-
* or the GNU Lesser General Public License version 2.1, both as
5-
* published by the Free Software Foundation.
6-
*/
2+
CanMsgRingbuffer.h - Library for CAN message handling
3+
Copyright (c) 2023 Arduino. All right reserved.
4+
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
18+
*/
719

820
#ifndef ARDUINOCORE_API_CAN_MSG_RING_BUFFER_H_
921
#define ARDUINOCORE_API_CAN_MSG_RING_BUFFER_H_

api/Common.cpp

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
Common.cpp - Common function implementations
3+
Copyright (c) 2017 Arduino LLC. All right reserved.
4+
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
18+
*/
19+
120
#include "Common.h"
221

322
/* C++ prototypes */

api/Common.h

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
Common.h - Common definitions for Arduino core
3+
Copyright (c) 2017 Arduino LLC. All right reserved.
4+
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
18+
*/
19+
120
#pragma once
221
#include <stdint.h>
322
#include <stdbool.h>

api/Compat.h

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
Compat.h - Compatibility layer for Arduino API
3+
Copyright (c) 2018 Arduino LLC. All right reserved.
4+
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
18+
*/
19+
120
#ifndef __COMPAT_H__
221
#define __COMPAT_H__
322

api/HardwareCAN.h

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
/*
2-
* This file is free software; you can redistribute it and/or modify
3-
* it under the terms of either the GNU General Public License version 2
4-
* or the GNU Lesser General Public License version 2.1, both as
5-
* published by the Free Software Foundation.
6-
*/
2+
HardwareCAN.h - CAN bus interface for Arduino core
3+
Copyright (c) 2023 Arduino. All right reserved.
4+
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
18+
*/
719

820
#ifndef ARDUINOCORE_API_HARDWARECAN_H
921
#define ARDUINOCORE_API_HARDWARECAN_H

api/HardwareI2C.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
HardwareI2C.h - Hardware I2C interface for Arduino
23
Copyright (c) 2016 Arduino LLC. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/HardwareSPI.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
HardwareSPI.h - Hardware SPI interface for Arduino
23
Copyright (c) 2018 Arduino LLC. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/HardwareSerial.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
HardwareSerial.h - Hardware serial interface for Arduino
23
Copyright (c) 2016 Arduino LLC. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/Interrupts.h

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
Interrupts.h - Arduino interrupt management functions
3+
Copyright (c) 2018 Arduino LLC. All right reserved.
4+
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
18+
*/
19+
120
#ifndef W_INTERRUPTS_CPP
221
#define W_INTERRUPTS_CPP
322
#ifdef __cplusplus

api/Print.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
Print.cpp - Base class that provides print() and println()
23
Copyright (c) 2014 Arduino. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/Print.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
Print.h - Base class that provides print() and println()
23
Copyright (c) 2016 Arduino LLC. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/Printable.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
Printable.h - Interface for classes that can be printed via Print
23
Copyright (c) 2016 Arduino LLC. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/RingBuffer.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
RingBuffer.h - Ring buffer implementation
23
Copyright (c) 2014 Arduino. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

api/itoa.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
itoa.h - Integer to ASCII conversion
23
Copyright (c) 2016 Arduino LLC. All right reserved.
34
45
This library is free software; you can redistribute it and/or
@@ -8,8 +9,8 @@
89
910
This library is distributed in the hope that it will be useful,
1011
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.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
1314
1415
You should have received a copy of the GNU Lesser General Public
1516
License along with this library; if not, write to the Free Software

test/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
##########################################################################
24

35
cmake_minimum_required(VERSION 2.8)

test/include/MillisFake.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
#ifndef MILLIS_FAKE_H_

test/include/PrintMock.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2020 Arduino. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: LGPL-2.1-or-later
35
*/
46

57
#ifndef PRINT_MOCK_H_

0 commit comments

Comments
 (0)