Skip to content

Commit 0cb6c00

Browse files
committed
[F3] Update system source file
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent eb32c32 commit 0cb6c00

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

system/STM32F3xx/system_stm32f3xx.c

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,13 @@
4444
******************************************************************************
4545
* @attention
4646
*
47-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
47+
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
48+
* All rights reserved.</center></h2>
4849
*
49-
* Redistribution and use in source and binary forms, with or without modification,
50-
* are permitted provided that the following conditions are met:
51-
* 1. Redistributions of source code must retain the above copyright notice,
52-
* this list of conditions and the following disclaimer.
53-
* 2. Redistributions in binary form must reproduce the above copyright notice,
54-
* this list of conditions and the following disclaimer in the documentation
55-
* and/or other materials provided with the distribution.
56-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
57-
* may be used to endorse or promote products derived from this software
58-
* without specific prior written permission.
59-
*
60-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
61-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
62-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
63-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
64-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
65-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
66-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
67-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
68-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
69-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50+
* This software component is licensed by ST under BSD 3-Clause license,
51+
* the "License"; You may not use this file except in compliance with the
52+
* License. You may obtain a copy of the License at:
53+
* opensource.org/licenses/BSD-3-Clause
7054
*
7155
******************************************************************************
7256
*/
@@ -169,7 +153,7 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
169153
*/
170154
void SystemInit(void)
171155
{
172-
/* FPU settings ------------------------------------------------------------*/
156+
/* FPU settings --------------------------------------------------------------*/
173157
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
174158
SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */
175159
#endif

0 commit comments

Comments
 (0)