Skip to content

Commit 3c39eeb

Browse files
fixing SPDX identifiers in all files
1 parent 15ca58b commit 3c39eeb

File tree

9 files changed

+117
-211
lines changed

9 files changed

+117
-211
lines changed

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/TOOLCHAIN_ARM/startup_stm32l071xx.S

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
;******************** (C) COPYRIGHT 2016 STMicroelectronics ********************
2-
;* File Name : startup_stm32l071xx.s
3-
;* Author : MCD Application Team
1+
;* mbed Microcontroller Library
2+
;* SPDX-License-Identifier: BSD-3-Clause
3+
;******************************************************************************
4+
;*
5+
;* Copyright (c) 2020 STMicroelectronics.
6+
;* All rights reserved.
7+
;*
8+
;* This software component is licensed by ST under BSD 3-Clause license,
9+
;* the "License"; You may not use this file except in compliance with the
10+
;* License. You may obtain a copy of the License at:
11+
;* opensource.org/licenses/BSD-3-Clause
12+
;*
13+
;******************************************************************************
414
;* Description : STM32l071xx Devices vector table for MDK-ARM toolchain.
515
;* This module performs:
616
;* - Set the initial SP
@@ -11,30 +21,6 @@
1121
;* After Reset the Cortex-M0+ processor is in Thread mode,
1222
;* priority is Privileged, and the Stack is set to Main.
1323
;*******************************************************************************
14-
;*
15-
;* Redistribution and use in source and binary forms, with or without modification,
16-
;* are permitted provided that the following conditions are met:
17-
;* 1. Redistributions of source code must retain the above copyright notice,
18-
;* this list of conditions and the following disclaimer.
19-
;* 2. Redistributions in binary form must reproduce the above copyright notice,
20-
;* this list of conditions and the following disclaimer in the documentation
21-
;* and/or other materials provided with the distribution.
22-
;* 3. Neither the name of STMicroelectronics nor the names of its contributors
23-
;* may be used to endorse or promote products derived from this software
24-
;* without specific prior written permission.
25-
;*
26-
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27-
;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28-
;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29-
;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
30-
;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31-
;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32-
;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
33-
;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
34-
;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35-
;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36-
;*
37-
;*******************************************************************************
3824
;
3925
; Amount of memory (in bytes) allocated for Stack
4026
; Tailor this value to your application needs

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/TOOLCHAIN_GCC_ARM/startup_stm32l071xx.S

Lines changed: 26 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,29 @@
1-
/**
2-
******************************************************************************
3-
* @file startup_stm32l071xx.s
4-
* @author MCD Application Team
5-
* @brief STM32L071xx Devices vector table for GCC toolchain.
6-
* This module performs:
7-
* - Set the initial SP
8-
* - Set the initial PC == Reset_Handler,
9-
* - Set the vector table entries with the exceptions ISR address
10-
* - Branches to main in the C library (which eventually
11-
* calls main()).
12-
* After Reset the Cortex-M0+ processor is in Thread mode,
13-
* priority is Privileged, and the Stack is set to Main.
14-
******************************************************************************
15-
*
16-
* Redistribution and use in source and binary forms, with or without modification,
17-
* are permitted provided that the following conditions are met:
18-
* 1. Redistributions of source code must retain the above copyright notice,
19-
* this list of conditions and the following disclaimer.
20-
* 2. Redistributions in binary form must reproduce the above copyright notice,
21-
* this list of conditions and the following disclaimer in the documentation
22-
* and/or other materials provided with the distribution.
23-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
24-
* may be used to endorse or promote products derived from this software
25-
* without specific prior written permission.
26-
*
27-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37-
*
38-
******************************************************************************
39-
*/
1+
/* mbed Microcontroller Library
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
******************************************************************************
4+
*
5+
* Copyright (c) 2020 STMicroelectronics.
6+
* All rights reserved.
7+
*
8+
* This software component is licensed by ST under BSD 3-Clause license,
9+
* the "License"; You may not use this file except in compliance with the
10+
* License. You may obtain a copy of the License at:
11+
* opensource.org/licenses/BSD-3-Clause
12+
*
13+
******************************************************************************
14+
* @file startup_stm32l071xx.s
15+
* @author MCD Application Team
16+
* @brief STM32L071xx Devices vector table for GCC toolchain.
17+
* This module performs:
18+
* - Set the initial SP
19+
* - Set the initial PC == Reset_Handler,
20+
* - Set the vector table entries with the exceptions ISR address
21+
* - Branches to main in the C library (which eventually
22+
* calls main()).
23+
* After Reset the Cortex-M0+ processor is in Thread mode,
24+
* priority is Privileged, and the Stack is set to Main.
25+
******************************************************************************
26+
*/
4027

4128
.syntax unified
4229
.cpu cortex-m0plus

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/TOOLCHAIN_IAR/startup_stm32l071xx.S

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
;/******************** (C) COPYRIGHT 2016 STMicroelectronics ********************
1+
;* mbed Microcontroller Library
2+
;* SPDX-License-Identifier: BSD-3-Clause
3+
;******************************************************************************
4+
;*
5+
;* Copyright (c) 2020 STMicroelectronics.
6+
;* All rights reserved.
7+
;*
8+
;* This software component is licensed by ST under BSD 3-Clause license,
9+
;* the "License"; You may not use this file except in compliance with the
10+
;* License. You may obtain a copy of the License at:
11+
;* opensource.org/licenses/BSD-3-Clause
12+
;*
213
;* File Name : startup_stm32l071xx.s
314
;* Author : MCD Application Team
415
;* Description : STM32L071xx Ultra Low Power Devices vector
@@ -13,31 +24,6 @@
1324
;* After Reset the Cortex-M0+ processor is in Thread mode,
1425
;* priority is Privileged, and the Stack is set to Main.
1526
;********************************************************************************
16-
;*
17-
;* Redistribution and use in source and binary forms, with or without modification,
18-
;* are permitted provided that the following conditions are met:
19-
;* 1. Redistributions of source code must retain the above copyright notice,
20-
;* this list of conditions and the following disclaimer.
21-
;* 2. Redistributions in binary form must reproduce the above copyright notice,
22-
;* this list of conditions and the following disclaimer in the documentation
23-
;* and/or other materials provided with the distribution.
24-
;* 3. Neither the name of STMicroelectronics nor the names of its contributors
25-
;* may be used to endorse or promote products derived from this software
26-
;* without specific prior written permission.
27-
;*
28-
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29-
;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30-
;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31-
;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32-
;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33-
;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34-
;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35-
;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36-
;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37-
;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
;*
39-
;*******************************************************************************/
40-
;
4127
;
4228
; The modules in this file are included in the libraries, and may be replaced
4329
; by any user-defined modules that define the PUBLIC symbol _program_start or

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/cmsis_nvic.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
/* mbed Microcontroller Library
22
* SPDX-License-Identifier: BSD-3-Clause
33
******************************************************************************
4-
* @attention
54
*
6-
* <h2><center>&copy; Copyright (c) 2016-2020 STMicroelectronics.
7-
* All rights reserved.</center></h2>
5+
* Copyright (c) 2020 STMicroelectronics.
6+
* All rights reserved.
87
*
98
* This software component is licensed by ST under BSD 3-Clause license,
10-
* the "License"; You may not use this file except in compliance with the
9+
* the "License"; You may not use this file except in compliance with the
1110
* License. You may obtain a copy of the License at:
1211
* opensource.org/licenses/BSD-3-Clause
1312
*
1413
******************************************************************************
15-
*/
14+
*/
1615

1716
#ifndef MBED_CMSIS_NVIC_H
1817
#define MBED_CMSIS_NVIC_H

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/stm32l071xx.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/* mbed Microcontroller Library
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
******************************************************************************
4+
*
5+
* Copyright (c) 2020 STMicroelectronics.
6+
* All rights reserved.
7+
*
8+
* This software component is licensed by ST under BSD 3-Clause license,
9+
* the "License"; You may not use this file except in compliance with the
10+
* License. You may obtain a copy of the License at:
11+
* opensource.org/licenses/BSD-3-Clause
12+
*
13+
******************************************************************************
14+
*/
15+
116
#ifndef __STM32L071xx_H
217
#define __STM32L071xx_H
318

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/stm32l0xx.h

Lines changed: 14 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,17 @@
1-
/**
2-
******************************************************************************
3-
* @file stm32l0xx.h
4-
* @author MCD Application Team
5-
* @brief CMSIS Cortex-M0+ Device Peripheral Access Layer Header File.
6-
* This file contains all the peripheral register's definitions, bits
7-
* definitions and memory mapping for STM32L0xx devices.
8-
*
9-
* The file is the unique include file that the application programmer
10-
* is using in the C source code, usually in main.c. This file contains:
11-
* - Configuration section that allows to select:
12-
* - The device used in the target application
13-
* - To use or not the peripheral's drivers in application code(i.e.
14-
* code will be based on direct access to peripheral's registers
15-
* rather than drivers API), this option is controlled by
16-
* "#define USE_HAL_DRIVER"
17-
*
18-
******************************************************************************
19-
* @attention
20-
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
22-
*
23-
* Redistribution and use in source and binary forms, with or without modification,
24-
* are permitted provided that the following conditions are met:
25-
* 1. Redistributions of source code must retain the above copyright notice,
26-
* this list of conditions and the following disclaimer.
27-
* 2. Redistributions in binary form must reproduce the above copyright notice,
28-
* this list of conditions and the following disclaimer in the documentation
29-
* and/or other materials provided with the distribution.
30-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
31-
* may be used to endorse or promote products derived from this software
32-
* without specific prior written permission.
33-
*
34-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
35-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
36-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
38-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
39-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
40-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
41-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
42-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44-
*
45-
******************************************************************************
46-
*/
1+
/* mbed Microcontroller Library
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
******************************************************************************
4+
*
5+
* Copyright (c) 2020 STMicroelectronics.
6+
* All rights reserved.
7+
*
8+
* This software component is licensed by ST under BSD 3-Clause license,
9+
* the "License"; You may not use this file except in compliance with the
10+
* License. You may obtain a copy of the License at:
11+
* opensource.org/licenses/BSD-3-Clause
12+
*
13+
******************************************************************************
14+
*/
4715

4816
/** @addtogroup CMSIS
4917
* @{

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/system_stm32l0xx.h

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,17 @@
1-
/**
2-
******************************************************************************
3-
* @file system_stm32l0xx.h
4-
* @author MCD Application Team
5-
* @brief CMSIS Cortex-M0+ Device Peripheral Access Layer System Header File.
6-
******************************************************************************
7-
* @attention
8-
*
9-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
10-
*
11-
* Redistribution and use in source and binary forms, with or without modification,
12-
* are permitted provided that the following conditions are met:
13-
* 1. Redistributions of source code must retain the above copyright notice,
14-
* this list of conditions and the following disclaimer.
15-
* 2. Redistributions in binary form must reproduce the above copyright notice,
16-
* this list of conditions and the following disclaimer in the documentation
17-
* and/or other materials provided with the distribution.
18-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
19-
* may be used to endorse or promote products derived from this software
20-
* without specific prior written permission.
21-
*
22-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32-
*
33-
******************************************************************************
34-
*/
1+
/* mbed Microcontroller Library
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
******************************************************************************
4+
*
5+
* Copyright (c) 2020 STMicroelectronics.
6+
* All rights reserved.
7+
*
8+
* This software component is licensed by ST under BSD 3-Clause license,
9+
* the "License"; You may not use this file except in compliance with the
10+
* License. You may obtain a copy of the License at:
11+
* opensource.org/licenses/BSD-3-Clause
12+
*
13+
******************************************************************************
14+
*/
3515

3616
/** @addtogroup CMSIS
3717
* @{

targets/TARGET_STM/TARGET_STM32L0/TARGET_MCU_STM32L071xx/device/us_ticker_data.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/* mbed Microcontroller Library
2-
* Copyright (c) 2006-2018 ARM Limited
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
******************************************************************************
34
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
5+
* Copyright (c) 2020 STMicroelectronics.
6+
* All rights reserved.
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* This software component is licensed by ST under BSD 3-Clause license,
9+
* the "License"; You may not use this file except in compliance with the
10+
* License. You may obtain a copy of the License at:
11+
* opensource.org/licenses/BSD-3-Clause
912
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
13+
******************************************************************************
1514
*/
15+
1616
#ifndef __US_TICKER_DATA_H
1717
#define __US_TICKER_DATA_H
1818

0 commit comments

Comments
 (0)