Skip to content

Commit

Permalink
lib: Update stm32f0 to use upstream github source
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
KevinOConnor committed Sep 2, 2021
1 parent 1feea0c commit 729ac52
Show file tree
Hide file tree
Showing 20 changed files with 128,779 additions and 128,778 deletions.
7 changes: 4 additions & 3 deletions lib/README
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ Contents taken from the targets/TARGET_NXP/TARGET_LPC176X/ directory.
It has been modified to set the appropriate clock speeds on the
LPC1768 and LPC1769. See lpc176x.patch for the modifications.

The stm32f0 directory contains code from STMicroelectronics:
http://www.st.com/en/embedded-software/stm32cubef1.html
version 1.10.0 (extracted 20190721).
The stm32f0 directory contains code from:
https://github.com/STMicroelectronics/STM32CubeF0
version v1.10.1 (d0c380d668c67dcdd4e44f656be27045ce4006a6). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F0xx/ directory.

The stm32f1 directory contains code from STMicroelectronics:
http://www.st.com/en/embedded-software/stm32cubef1.html
Expand Down
10,780 changes: 5,390 additions & 5,390 deletions lib/stm32f0/include/stm32f030x6.h

Large diffs are not rendered by default.

10,914 changes: 5,457 additions & 5,457 deletions lib/stm32f0/include/stm32f030x8.h

Large diffs are not rendered by default.

11,668 changes: 5,834 additions & 5,834 deletions lib/stm32f0/include/stm32f030xc.h

Large diffs are not rendered by default.

11,418 changes: 5,709 additions & 5,709 deletions lib/stm32f0/include/stm32f031x6.h

Large diffs are not rendered by default.

11,348 changes: 5,674 additions & 5,674 deletions lib/stm32f0/include/stm32f038xx.h

Large diffs are not rendered by default.

21,368 changes: 10,684 additions & 10,684 deletions lib/stm32f0/include/stm32f042x6.h

Large diffs are not rendered by default.

21,296 changes: 10,648 additions & 10,648 deletions lib/stm32f0/include/stm32f048xx.h

Large diffs are not rendered by default.

13,582 changes: 6,791 additions & 6,791 deletions lib/stm32f0/include/stm32f051x8.h

Large diffs are not rendered by default.

13,512 changes: 6,756 additions & 6,756 deletions lib/stm32f0/include/stm32f058xx.h

Large diffs are not rendered by default.

11,270 changes: 5,635 additions & 5,635 deletions lib/stm32f0/include/stm32f070x6.h

Large diffs are not rendered by default.

11,642 changes: 5,821 additions & 5,821 deletions lib/stm32f0/include/stm32f070xb.h

Large diffs are not rendered by default.

14,778 changes: 7,389 additions & 7,389 deletions lib/stm32f0/include/stm32f071xb.h

Large diffs are not rendered by default.

22,618 changes: 11,309 additions & 11,309 deletions lib/stm32f0/include/stm32f072xb.h

Large diffs are not rendered by default.

22,558 changes: 11,279 additions & 11,279 deletions lib/stm32f0/include/stm32f078xx.h

Large diffs are not rendered by default.

23,736 changes: 11,868 additions & 11,868 deletions lib/stm32f0/include/stm32f091xc.h

Large diffs are not rendered by default.

23,670 changes: 11,835 additions & 11,835 deletions lib/stm32f0/include/stm32f098xx.h

Large diffs are not rendered by default.

484 changes: 242 additions & 242 deletions lib/stm32f0/include/stm32f0xx.h

Large diffs are not rendered by default.

242 changes: 121 additions & 121 deletions lib/stm32f0/include/system_stm32f0xx.h
Original file line number Diff line number Diff line change
@@ -1,121 +1,121 @@
/**
******************************************************************************
* @file system_stm32f0xx.h
* @author MCD Application Team
* @brief CMSIS Cortex-M0 Device System Source File for STM32F0xx devices.
******************************************************************************
* @attention
*
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/

/** @addtogroup CMSIS
* @{
*/

/** @addtogroup stm32f0xx_system
* @{
*/

/**
* @brief Define to prevent recursive inclusion
*/
#ifndef __SYSTEM_STM32F0XX_H
#define __SYSTEM_STM32F0XX_H

#ifdef __cplusplus
extern "C" {
#endif

/** @addtogroup STM32F0xx_System_Includes
* @{
*/

/**
* @}
*/


/** @addtogroup STM32F0xx_System_Exported_types
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
3) by calling HAL API function HAL_RCC_GetHCLKFreq()
3) by calling HAL API function HAL_RCC_ClockConfig()
Note: If you use this function to configure the system clock; then there
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */

/**
* @}
*/

/** @addtogroup STM32F0xx_System_Exported_Constants
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F0xx_System_Exported_Macros
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F0xx_System_Exported_Functions
* @{
*/

extern void SystemInit(void);
extern void SystemCoreClockUpdate(void);
/**
* @}
*/

#ifdef __cplusplus
}
#endif

#endif /*__SYSTEM_STM32F0XX_H */

/**
* @}
*/

/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
/**
******************************************************************************
* @file system_stm32f0xx.h
* @author MCD Application Team
* @brief CMSIS Cortex-M0 Device System Source File for STM32F0xx devices.
******************************************************************************
* @attention
*
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/

/** @addtogroup CMSIS
* @{
*/

/** @addtogroup stm32f0xx_system
* @{
*/

/**
* @brief Define to prevent recursive inclusion
*/
#ifndef __SYSTEM_STM32F0XX_H
#define __SYSTEM_STM32F0XX_H

#ifdef __cplusplus
extern "C" {
#endif

/** @addtogroup STM32F0xx_System_Includes
* @{
*/

/**
* @}
*/


/** @addtogroup STM32F0xx_System_Exported_types
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
3) by calling HAL API function HAL_RCC_GetHCLKFreq()
3) by calling HAL API function HAL_RCC_ClockConfig()
Note: If you use this function to configure the system clock; then there
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */

/**
* @}
*/

/** @addtogroup STM32F0xx_System_Exported_Constants
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F0xx_System_Exported_Macros
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F0xx_System_Exported_Functions
* @{
*/

extern void SystemInit(void);
extern void SystemCoreClockUpdate(void);
/**
* @}
*/

#ifdef __cplusplus
}
#endif

#endif /*__SYSTEM_STM32F0XX_H */

/**
* @}
*/

/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Loading

0 comments on commit 729ac52

Please sign in to comment.