8000 Merge pull request #728 from fpistm/Cube_Update · stm32duino/Arduino_Core_STM32@9ddecc3 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 9ddecc3

Browse files
authored
Merge pull request #728 from fpistm/Cube_Update
[HAL/LL/CMSIS] Update F0, F3 and WB series
2 parents 2f1fd8e + 8d23dcc commit 9ddecc3

File tree

422 files changed

+176896
-142354
lines changed
  • Src
  • _htmresc
  • STM32WBxx_HAL_Driver
  • STM32F0xx
  • STM32F3xx
  • STM32WBxx
  • variants
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    422 files changed

    +176896
    -142354
    lines changed

    cores/arduino/stm32/LL/stm32yyxx_ll_usb.h

    Lines changed: 6 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -5,12 +5,18 @@
    55
    #pragma GCC diagnostic ignored "-Wunused-parameter"
    66
    #pragma GCC diagnostic ignored "-Wstrict-aliasing"
    77

    8+
    #ifdef STM32F0xx
    9+
    #include "stm32f0xx_ll_usb.h"
    10+
    #endif
    811
    #ifdef STM32F1xx
    912
    #include "stm32f1xx_ll_usb.h"
    1013
    #endif
    1114
    #ifdef STM32F2xx
    1215
    #include "stm32f2xx_ll_usb.h"
    1316
    #endif
    17+
    #ifdef STM32F3xx
    18+
    #include "stm32f3xx_ll_usb.h"
    19+
    #endif
    1420
    #ifdef STM32F4xx
    1521
    #include "stm32f4xx_ll_usb.h"
    1622
    #endif

    cores/arduino/stm32/twi.c

    Lines changed: 6 additions & 6 deletions
    Original file line numberDiff line numberDiff line change
    @@ -919,8 +919,8 @@ void HAL_I2C_AddrCallback(I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, ui
    919919
    if (obj->i2c_onSlaveTransmit != NULL) {
    920920
    obj->i2c_onSlaveTransmit();
    921921
    }
    922-
    #if defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F4xx) ||\
    923-
    defined(STM32L0xx) || defined(STM32L1xx)
    922+
    #if defined(STM32F0xx) || defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F3xx) ||\
    923+
    defined(STM32F4xx) || defined(STM32L0xx) || defined(STM32L1xx)
    924924
    HAL_I2C_Slave_Seq_Transmit_IT(hi2c, (uint8_t *) obj->i2cTxRxBuffer,
    925925
    obj->i2cTxRxBufferSize, I2C_LAST_FRAME);
    926926
    #else
    @@ -932,8 +932,8 @@ void HAL_I2C_AddrCallback(I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, ui
    932932
    obj->slaveMode = SLAVE_MODE_RECEIVE;
    933933
    /* We don't know in advance how many bytes will be sent by master so
    934934
    * we'll fetch one by one until master ends the sequence */
    935-
    #if defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F4xx) ||\
    936-
    defined(STM32L0xx) || defined(STM32L1xx)
    935+
    #if defined(STM32F0xx) || defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F3xx) ||\
    936+
    defined(STM32F4xx) || defined(STM32L0xx) || defined(STM32L1xx)
    937937
    HAL_I2C_Slave_Seq_Receive_IT(hi2c, (uint8_t *) & (obj->i2cTxRxBuffer[obj->slaveRxNbData]),
    938938
    1, I2C_NEXT_FRAME);
    939939
    #else
    @@ -984,8 +984,8 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *hi2c)
    984984
    }
    985985
    /* Restart interrupt mode for next Byte */
    986986
    if (obj->slaveMode == SLAVE_MODE_RECEIVE) {
    987-
    #if defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F4xx) ||\
    988-
    defined(STM32L0xx) || defined(STM32L1xx)
    987+
    #if defined(STM32F0xx) || defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F3xx) ||\
    988+
    defined(STM32F4xx) || defined(STM32L0xx) || defined(STM32L1xx)
    989989
    HAL_I2C_Slave_Seq_Receive_IT(hi2c, (uint8_t *) & (obj->i2cTxRxBuffer[obj->slaveRxNbData]),
    990990
    1, I2C_NEXT_FRAME);
    991991
    #else

    libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c

    Lines changed: 6 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,9 +1,15 @@
    1+
    #ifdef STM32F0xx
    2+
    #include "stm32f0xx_hal_exti.c"
    3+
    #endif
    14
    #ifdef STM32F1xx
    25
    #include "stm32f1xx_hal_exti.c"
    36
    #endif
    47
    #ifdef STM32F2xx
    58
    #include "stm32f2xx_hal_exti.c"
    69
    #endif
    10+
    #ifdef STM32F3xx
    11+
    #include "stm32f3xx_hal_exti.c"
    12+
    #endif
    713
    #ifdef STM32F4xx
    814
    #include "stm32f4xx_hal_exti.c"
    915
    #endif

    libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c

    Lines changed: 6 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,3 +1,9 @@
    1+
    #ifdef STM32F0xx
    2+
    #include "stm32f0xx_hal_usart_ex.c"
    3+
    #endif
    4+
    #ifdef STM32F3xx
    5+
    #include "stm32f3xx_hal_usart_ex.c"
    6+
    #endif
    17
    #ifdef STM32G0xx
    28
    #include "stm32g0xx_hal_usart_ex.c"
    39
    #endif

    libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c

    Lines changed: 6 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,9 +1,15 @@
    1+
    #ifdef STM32F0xx
    2+
    #include "stm32f0xx_ll_usb.c"
    3+
    #endif
    14
    #ifdef STM32F1xx
    25
    #include "stm32f1xx_ll_usb.c"
    36
    #endif
    47
    #ifdef STM32F2xx
    58
    #include "stm32f2xx_ll_usb.c"
    69
    #endif
    10+
    #ifdef STM32F3xx
    11+
    #include "stm32f3xx_ll_usb.c"
    12+
    #endif
    713
    #ifdef STM32F4xx
    814
    #include "stm32f4xx_ll_usb.c"
    915
    #endif

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h

    Lines changed: 1488 additions & 1519 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x8.h

    Lines changed: 1504 additions & 1535 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030xc.h

    Lines changed: 1610 additions & 1639 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f031x6.h

    Lines changed: 1564 additions & 1588 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f038xx.h

    Lines changed: 1556 additions & 1580 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h

    Lines changed: 3070 additions & 3091 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f048xx.h

    Lines changed: 3062 additions & 3083 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f051x8.h

    Lines changed: 1892 additions & 1916 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f058xx.h

    Lines changed: 1882 additions & 1906 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f070x6.h

    Lines changed: 1501 additions & 1525 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f070xb.h

    Lines changed: 1552 additions & 1576 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f071xb.h

    Lines changed: 2058 additions & 2082 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h

    Lines changed: 3254 additions & 3270 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f078xx.h

    Lines changed: 3244 additions & 3260 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f091xc.h

    Lines changed: 3481 additions & 3505 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f098xx.h

    Lines changed: 3472 additions & 3496 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h

    Lines changed: 12 additions & 28 deletions
    Original file line numberDiff line numberDiff line change
    @@ -16,29 +16,13 @@
    1616
    ******************************************************************************
    1717
    * @attention
    1818
    *
    19-
    * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
    19+
    * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
    20+
    * All rights reserved.</center></h2>
    2021
    *
    21-
    * Redistribution and use in source and binary forms, with or without modification,
    22-
    * are permitted provided that the following conditions are met:
    23-
    * 1. Redistributions of source code must retain the above copyright notice,
    24-
    * this list of conditions and the following disclaimer.
    25-
    * 2. Redistributions in binary form must reproduce the above copyright notice,
    26-
    * this list of conditions and the following disclaimer in the documentation
    27-
    * and/or other materials provided with the distribution.
    28-
    * 3. Neither the name of STMicroelectronics nor the names of its contributors
    29-
    * may be used to endorse or promote products derived from this software
    30-
    * without specific prior written permission.
    31-
    *
    32-
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    33-
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    34-
    * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    35-
    * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    36-
    * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    37-
    * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    38-
    * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    39-
    * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    40-
    * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    41-
    * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    22+
    * This software component is licensed by ST under BSD 3-Clause license,
    23+
    * the "License"; You may not use this file except in compliance with the
    24+
    * License. You may obtain a copy of the License at:
    25+
    * opensource.org/licenses/BSD-3-Clause
    4226
    *
    4327
    ******************************************************************************
    4428
    */
    @@ -110,11 +94,11 @@
    11094
    #endif /* USE_HAL_DRIVER */
    11195

    11296
    /**
    113-
    * @brief CMSIS Device version number V2.3.3
    97+
    * @brief CMSIS Device version number V2.3.4
    11498
    */
    11599
    #define __STM32F0_DEVICE_VERSION_MAIN (0x02) /*!< [31:24] main version */
    116100
    #define __STM32F0_DEVICE_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
    117-
    #define __STM32F0_DEVICE_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */
    101+
    #define __STM32F0_DEVICE_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
    118102
    #define __STM32F0_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */
    119103
    #define __STM32F0_DEVICE_VERSION ((__STM32F0_DEVICE_VERSION_MAIN << 24)\
    120104
    |(__STM32F0_DEVICE_VERSION_SUB1 << 16)\
    @@ -174,21 +158,21 @@
    174158
    */
    175159
    typedef enum
    176160
    {
    177-
    RESET = 0,
    161+
    RESET = 0U,
    178162
    SET = !RESET
    179163
    } FlagStatus, ITStatus;
    180164

    181165
    typedef enum
    182166
    {
    183-
    DISABLE = 0,
    167+
    DISABLE = 0U,
    184168
    ENABLE = !DISABLE
    185169
    } FunctionalState;
    186170
    #define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
    187171

    188172
    typedef enum
    189173
    {
    190-
    ERROR = 0,
    191-
    SUCCESS = !ERROR
    174+
    SUCCESS = 0U,
    175+
    ERROR = !SUCCESS
    192176
    } ErrorStatus;
    193177

    194178
    /**

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h

    Lines changed: 6 additions & 22 deletions
    Original file line numberDiff line numberDiff line change
    @@ -6,29 +6,13 @@
    66
    ******************************************************************************
    77
    * @attention
    88
    *
    9-
    * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
    9+
    * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
    10+
    * All rights reserved.</center></h2>
    1011
    *
    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.
    12+
    * This software component is licensed by ST under BSD 3-Clause license,
    13+
    * the "License"; You may not use this file except in compliance with the
    14+
    * License. You may obtain a copy of the License at:
    15+
    * opensource.org/licenses/BSD-3-Clause
    3216
    *
    3317
    ******************************************************************************
    3418
    */

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Release_Notes.html

    Lines changed: 377 additions & 282 deletions
    Large diffs are not rendered by default.

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x6.s

    Lines changed: 8 additions & 21 deletions
    Original file line numberDiff line numberDiff line change
    @@ -12,28 +12,15 @@
    1212
    * After Reset the Cortex-M0 processor is in Thread mode,
    1313
    * priority is Privileged, and the Stack is set to Main.
    1414
    ******************************************************************************
    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.
    15+
    * @attention
    2616
    *
    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.
    17+
    * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
    18+
    * All rights reserved.</center></h2>
    19+
    *
    20+
    * This software component is licensed by ST under BSD 3-Clause license,
    21+
    * the "License"; You may not use this file except in compliance with the
    22+
    * License. You may obtain a copy of the License at:
    23+
    * opensource.org/licenses/BSD-3-Clause
    3724
    *
    3825
    ******************************************************************************
    3926
    */

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s

    Lines changed: 8 additions & 21 deletions
    Original file line numberDiff line numberDiff line change
    @@ -12,28 +12,15 @@
    1212
    * After Reset the Cortex-M0 processor is in Thread mode,
    1313
    * priority is Privileged, and the Stack is set to Main.
    1414
    ******************************************************************************
    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.
    15+
    * @attention
    2616
    *
    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.
    17+
    * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
    18+
    * All rights reserved.</center></h2>
    19+
    *
    20+
    * This software component is licensed by ST under BSD 3-Clause license,
    21+
    * the "License"; You may not use this file except in compliance with the
    22+
    * License. You may obtain a copy of the License at:
    23+
    * opensource.org/licenses/BSD-3-Clause
    3724
    *
    3825
    ******************************************************************************
    3926
    */

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030xc.s

    Lines changed: 8 additions & 21 deletions
    Original file line numberDiff line numberDiff line change
    @@ -12,28 +12,15 @@
    1212
    * After Reset the Cortex-M0 processor is in Thread mode,
    1313
    * priority is Privileged, and the Stack is set to Main.
    1414
    ******************************************************************************
    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.
    15+
    * @attention
    2616
    *
    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.
    17+
    * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
    18+
    * All rights reserved.</center></h2>
    19+
    *
    20+
    * This software component is licensed by ST under BSD 3-Clause license,
    21+
    * the "License"; You may not use this file except in compliance with the
    22+
    * License. You may obtain a copy of the License at:
    23+
    * opensource.org/licenses/BSD-3-Clause
    3724
    *
    3825
    ******************************************************************************
    3926
    */

    system/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f031x6.s

    Lines changed: 8 additions & 21 deletions
    Original file line numberDiff line numberDiff line change
    @@ -12,28 +12,15 @@
    1212
    * After Reset the Cortex-M0 processor is in Thread mode,
    1313
    * priority is Privileged, and the Stack is set to Main.
    1414
    ******************************************************************************
    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.
    15+
    * @attention
    2616
    *
    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.
    17+
    * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
    18+
    * All rights reserved.</center></h2>
    19+
    *
    20+
    * This software component is licensed by ST under BSD 3-Clause license,
    21+
    * the "License"; You may not use this file except in compliance with the
    22+
    * License. You may obtain a copy of the License at:
    23+
    * opensource.org/licenses/BSD-3-Clause
    3724
    *
    3825
    ******************************************************************************
    3926
    */

    0 commit comments

    Comments
     (0)
    0