Skip to content

Commit 525c9ce

Browse files
committed
Add missing license files
1 parent 0b41a8e commit 525c9ce

14 files changed

+198
-8
lines changed

cores/arduino/Serial.cpp

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
Serial.cpp - wrapper over mbed RawSerial
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2018-2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
#include "Arduino.h"
224

325
#ifdef Serial

cores/arduino/Serial.h

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
Serial.h - wrapper over mbed RawSerial
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2018-2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
#include "api/RingBuffer.h"
224
#include "Arduino.h"
325

cores/arduino/macros.h

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
macros.h - basic porting layer for mbed-enabled boards
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2018-2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
#pragma once
224
#ifdef USE_ARDUINO_PINOUT
325

cores/arduino/overloads.h

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
overloads.h - C++ overloads to handle both Arduino and mbed pin numbering methods
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2018-2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
void pinMode(PinName pinNumber, PinMode pinMode);
224
void digitalWrite(PinName pinNumber, PinStatus status);
325
PinStatus digitalRead(PinName pinNumber);

cores/arduino/wiring.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
wiring.c - Partial implementation of the Wiring API for the ATmega8.
2+
wiring.cpp
33
Part of Arduino - http://www.arduino.cc/
44
55
Copyright (c) 2005-2006 David A. Mellis

cores/arduino/wiring_analog.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
wiring_analog.c - analog input and output functions
2+
wiring_analog.cpp - analog input and output functions
33
Part of Arduino - http://www.arduino.cc/
44
5-
Copyright (c) 2018 Arduino SA
5+
Copyright (c) 2018-2019 Arduino SA
66
77
This library is free software; you can redistribute it and/or
88
modify it under the terms of the GNU Lesser General Public

cores/arduino/wiring_digital.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
wiring_digital.c - digital input and output functions
2+
wiring_digital.cpp - digital input and output functions
33
Part of Arduino - http://www.arduino.cc/
44
5-
Copyright (c) 2018 Arduino SA
5+
Copyright (c) 2018-2019 Arduino SA
66
77
This library is free software; you can redistribute it and/or
88
modify it under the terms of the GNU Lesser General Public

cores/arduino/wiring_private.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
wiring_private.h - Internal header file.
2+
wiring_private.h
33
Part of Arduino - http://www.arduino.cc/
44
5-
Copyright (c) 2005-2006 David A. Mellis
5+
Copyright (c) 2018-2019 Arduino SA
66
77
This library is free software; you can redistribute it and/or
88
modify it under the terms of the GNU Lesser General Public

cores/arduino/wiring_shift.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
wiring_shift.c - shiftOut() function
2+
wiring_shift.cpp - shiftOut() function
33
Part of Arduino - http://www.arduino.cc/
44
55
Copyright (c) 2005-2006 David A. Mellis

libraries/PDM/src/PDM.cpp

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
PDM.cpp - library to interface with nRF52840 PDM peripheral
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
#include "PDM.h"
224
#include <hal/nrf_pdm.h>
325

libraries/PDM/src/PDM.h

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright (c) 2019 Arduino LLC. All right reserved.
3+
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.
8+
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.
13+
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
17+
*/
18+
119
#ifndef _PDM_H_INCLUDED
220
#define _PDM_H_INCLUDED
321

libraries/SPI/SPI.cpp

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
SPI.cpp - wrapper over mbed SPI class
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2018-2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
#include "SPI.h"
224

325
arduino::MbedSPI::MbedSPI(int miso, int mosi, int sck) : _miso(miso), _mosi(mosi), _sck(sck) {

libraries/SPI/SPI.h

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright (c) 2016 Arduino LLC. All right reserved.
3+
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.
8+
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.
13+
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
17+
*/
18+
119
#pragma once
220

321
#include "Arduino.h"

libraries/Wire/Wire.cpp

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
Wire.cpp - wrapper over mbed I2C / I2CSlave
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2018-2019 Arduino SA
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General
18+
Public License along with this library; if not, write to the
19+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20+
Boston, MA 02111-1307 USA
21+
*/
22+
123
#include "Wire.h"
224

325
arduino::MbedI2C::MbedI2C(int sda, int scl) : _sda(sda), _scl(scl), usedTxBuffer(0) {}

0 commit comments

Comments
 (0)