Skip to content

Commit 81f919b

Browse files
committed
STM32L4 : license header alignment
1 parent 95f8b2d commit 81f919b

File tree

27 files changed

+337
-499
lines changed

27 files changed

+337
-499
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/system_clock.c

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2016-2020 STMicroelectronics
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/**
2-
******************************************************************************
3-
* @file system_stm32l4xx.c
4-
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
7-
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File
8-
*
9-
* This file provides two functions and one global variable to be called from
10-
* user application:
11-
* - SystemInit(): This function is called at startup just after reset and
12-
* before branch to main program. This call is made inside
13-
* the "startup_stm32l4xx.s" file.
14-
*
15-
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
16-
* by the user application to setup the SysTick
17-
* timer or configure other parameters.
18-
*
19-
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
20-
* be called whenever the core clock is changed
21-
* during program execution.
22-
*
23-
* After each device reset the MSI (4 MHz) is used as system clock source.
24-
* Then SystemInit() function is called, in "startup_stm32l4xx.s" file, to
25-
* configure the system clock before to branch to main program.
26-
*
2719
* This file configures the system clock as follows:
2820
*=============================================================================
2921
* System clock source | 1- PLL_HSE_EXTC | 3- PLL_HSI

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/system_clock.c

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2016-2020 STMicroelectronics
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/**
2-
******************************************************************************
3-
* @file system_stm32l4xx.c
4-
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
7-
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File
8-
*
9-
* This file provides two functions and one global variable to be called from
10-
* user application:
11-
* - SystemInit(): This function is called at startup just after reset and
12-
* before branch to main program. This call is made inside
13-
* the "startup_stm32l4xx.s" file.
14-
*
15-
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
16-
* by the user application to setup the SysTick
17-
* timer or configure other parameters.
18-
*
19-
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
20-
* be called whenever the core clock is changed
21-
* during program execution.
22-
*
23-
* After each device reset the MSI (4 MHz) is used as system clock source.
24-
* Then SystemInit() function is called, in "startup_stm32l4xx.s" file, to
25-
* configure the system clock before to branch to main program.
26-
*
2719
* This file configures the system clock as follows:
2820
*=============================================================================
2921
* System clock source | 1- PLL_HSE_EXTC | 3- PLL_HSI

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L443xC/system_clock.c

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2016-2020 STMicroelectronics
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/**
2-
******************************************************************************
3-
* @file system_stm32l4xx.c
4-
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
7-
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File
8-
*
9-
* This file provides two functions and one global variable to be called from
10-
* user application:
11-
* - SystemInit(): This function is called at startup just after reset and
12-
* before branch to main program. This call is made inside
13-
* the "startup_stm32l4xx.s" file.
14-
*
15-
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
16-
* by the user application to setup the SysTick
17-
* timer or configure other parameters.
18-
*
19-
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
20-
* be called whenever the core clock is changed
21-
* during program execution.
22-
*
23-
* After each device reset the MSI (4 MHz) is used as system clock source.
24-
* Then SystemInit() function is called, in "startup_stm32l4xx.s" file, to
25-
* configure the system clock before to branch to main program.
26-
*
2719
* This file configures the system clock as follows:
2820
*=============================================================================
2921
* System clock source | 1- PLL_HSE_EXTC | 3- PLL_HSI

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L452xE/system_clock.c

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2016-2020 STMicroelectronics
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/**
2-
******************************************************************************
3-
* @file system_stm32l4xx.c
4-
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
7-
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File
8-
*
9-
* This file provides two functions and one global variable to be called from
10-
* user application:
11-
* - SystemInit(): This function is called at startup just after reset and
12-
* before branch to main program. This call is made inside
13-
* the "startup_stm32l4xx.s" file.
14-
*
15-
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
16-
* by the user application to setup the SysTick
17-
* timer or configure other parameters.
18-
*
19-
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
20-
* be called whenever the core clock is changed
21-
* during program execution.
22-
*
23-
* After each device reset the MSI (4 MHz) is used as system clock source.
24-
* Then SystemInit() function is called, in "startup_stm32l4xx.s" file, to
25-
* configure the system clock before to branch to main program.
26-
*
2719
* This file configures the system clock as follows:
2820
*=============================================================================
2921
* System clock source s | 1- PLL_HSE_EXTC | 3- PLL_HSI

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L471xG/system_clock.c

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

1818
/**
1919
* This file configures the system clock as follows:

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.c

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

1818
/**
1919
* This file configures the system clock as follows:

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/system_clock.c

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

1818
/**
1919
* This file configures the system clock as follows:

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/TARGET_ADV_WISE_1570/system_clock.c

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

1818
/**
1919
* This file configures the system clock as follows:

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/TARGET_NUCLEO_L486RG/system_clock.c

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

1818
/**
1919
* This file configures the system clock as follows:

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/system_clock.c

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

1818
/**
1919
* This file configures the system clock as follows:

0 commit comments

Comments
 (0)