Skip to content

Commit

Permalink
lib: Update stm32f4 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 72c07ac commit 8865f57
Show file tree
Hide file tree
Showing 27 changed files with 323,369 additions and 323,368 deletions.
7 changes: 4 additions & 3 deletions lib/README
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ The stm32f2 directory contains code from:
version v1.9.0 (42fc8bf966c04ef814bb0620dcd3e036e038b4a2). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F2xx/ directory.

The stm32f4 directory contains code from STMicroelectronics:
http://www.st.com/en/embedded-software/stm32cubef4.html
version 1.24.0 (extracted 20190723).
The stm32f4 directory contains code from:
https://github.com/STMicroelectronics/STM32CubeF4
version v1.24.1 (b5abca20c9676b04f8d2885a668a9b653ee65705). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F4xx/ directory.

The rp2040 directory contains code from the pico sdk:
https://github.com/raspberrypi/pico-sdk.git
Expand Down
17,308 changes: 8,654 additions & 8,654 deletions lib/stm32f4/include/stm32f401xc.h

Large diffs are not rendered by default.

17,308 changes: 8,654 additions & 8,654 deletions lib/stm32f4/include/stm32f401xe.h

Large diffs are not rendered by default.

28,646 changes: 14,323 additions & 14,323 deletions lib/stm32f4/include/stm32f405xx.h

Large diffs are not rendered by default.

31,228 changes: 15,614 additions & 15,614 deletions lib/stm32f4/include/stm32f407xx.h

Large diffs are not rendered by default.

14,738 changes: 7,369 additions & 7,369 deletions lib/stm32f4/include/stm32f410cx.h

Large diffs are not rendered by default.

14,746 changes: 7,373 additions & 7,373 deletions lib/stm32f4/include/stm32f410rx.h

Large diffs are not rendered by default.

14,624 changes: 7,312 additions & 7,312 deletions lib/stm32f4/include/stm32f410tx.h

Large diffs are not rendered by default.

17,386 changes: 8,693 additions & 8,693 deletions lib/stm32f4/include/stm32f411xe.h

Large diffs are not rendered by default.

27,042 changes: 13,521 additions & 13,521 deletions lib/stm32f4/include/stm32f412cx.h

Large diffs are not rendered by default.

29,028 changes: 14,514 additions & 14,514 deletions lib/stm32f4/include/stm32f412rx.h

Large diffs are not rendered by default.

29,056 changes: 14,528 additions & 14,528 deletions lib/stm32f4/include/stm32f412vx.h

Large diffs are not rendered by default.

29,102 changes: 14,551 additions & 14,551 deletions lib/stm32f4/include/stm32f412zx.h

Large diffs are not rendered by default.

30,954 changes: 15,477 additions & 15,477 deletions lib/stm32f4/include/stm32f413xx.h

Large diffs are not rendered by default.

29,214 changes: 14,607 additions & 14,607 deletions lib/stm32f4/include/stm32f415xx.h

Large diffs are not rendered by default.

31,786 changes: 15,893 additions & 15,893 deletions lib/stm32f4/include/stm32f417xx.h

Large diffs are not rendered by default.

31,260 changes: 15,630 additions & 15,630 deletions lib/stm32f4/include/stm32f423xx.h

Large diffs are not rendered by default.

33,666 changes: 16,833 additions & 16,833 deletions lib/stm32f4/include/stm32f427xx.h

Large diffs are not rendered by default.

34,382 changes: 17,191 additions & 17,191 deletions lib/stm32f4/include/stm32f429xx.h

Large diffs are not rendered by default.

34,270 changes: 17,135 additions & 17,135 deletions lib/stm32f4/include/stm32f437xx.h

Large diffs are not rendered by default.

34,970 changes: 17,485 additions & 17,485 deletions lib/stm32f4/include/stm32f439xx.h

Large diffs are not rendered by default.

31,982 changes: 15,991 additions & 15,991 deletions lib/stm32f4/include/stm32f446xx.h

Large diffs are not rendered by default.

40,568 changes: 20,284 additions & 20,284 deletions lib/stm32f4/include/stm32f469xx.h

Large diffs are not rendered by default.

41,162 changes: 20,581 additions & 20,581 deletions lib/stm32f4/include/stm32f479xx.h

Large diffs are not rendered by default.

538 changes: 269 additions & 269 deletions lib/stm32f4/include/stm32f4xx.h

Large diffs are not rendered by default.

244 changes: 122 additions & 122 deletions lib/stm32f4/include/system_stm32f4xx.h
Original file line number Diff line number Diff line change
@@ -1,122 +1,122 @@
/**
******************************************************************************
* @file system_stm32f4xx.h
* @author MCD Application Team
* @brief CMSIS Cortex-M4 Device System Source File for STM32F4xx devices.
******************************************************************************
* @attention
*
* <h2><center>&copy; COPYRIGHT(c) 2017 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 stm32f4xx_system
* @{
*/

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

#ifdef __cplusplus
extern "C" {
#endif

/** @addtogroup STM32F4xx_System_Includes
* @{
*/

/**
* @}
*/


/** @addtogroup STM32F4xx_System_Exported_types
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
2) by calling HAL API function HAL_RCC_GetSysClockFreq()
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
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 STM32F4xx_System_Exported_Constants
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F4xx_System_Exported_Macros
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F4xx_System_Exported_Functions
* @{
*/

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

#ifdef __cplusplus
}
#endif

#endif /*__SYSTEM_STM32F4XX_H */

/**
* @}
*/

/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
/**
******************************************************************************
* @file system_stm32f4xx.h
* @author MCD Application Team
* @brief CMSIS Cortex-M4 Device System Source File for STM32F4xx devices.
******************************************************************************
* @attention
*
* <h2><center>&copy; COPYRIGHT(c) 2017 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 stm32f4xx_system
* @{
*/

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

#ifdef __cplusplus
extern "C" {
#endif

/** @addtogroup STM32F4xx_System_Includes
* @{
*/

/**
* @}
*/


/** @addtogroup STM32F4xx_System_Exported_types
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
2) by calling HAL API function HAL_RCC_GetSysClockFreq()
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
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 STM32F4xx_System_Exported_Constants
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F4xx_System_Exported_Macros
* @{
*/

/**
* @}
*/

/** @addtogroup STM32F4xx_System_Exported_Functions
* @{
*/

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

#ifdef __cplusplus
}
#endif

#endif /*__SYSTEM_STM32F4XX_H */

/**
* @}
*/

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

0 comments on commit 8865f57

Please sign in to comment.