|
44 | 44 | ****************************************************************************** |
45 | 45 | * @attention |
46 | 46 | * |
47 | | - * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
| 47 | + * <h2><center>© Copyright (c) 2016 STMicroelectronics. |
| 48 | + * All rights reserved.</center></h2> |
48 | 49 | * |
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 |
70 | 54 | * |
71 | 55 | ****************************************************************************** |
72 | 56 | */ |
@@ -169,7 +153,7 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4}; |
169 | 153 | */ |
170 | 154 | void SystemInit(void) |
171 | 155 | { |
172 | | - /* FPU settings ------------------------------------------------------------*/ |
| 156 | +/* FPU settings --------------------------------------------------------------*/ |
173 | 157 | #if (__FPU_PRESENT == 1) && (__FPU_USED == 1) |
174 | 158 | SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */ |
175 | 159 | #endif |
|
0 commit comments