Skip to content

Commit

Permalink
Updated project to latest CubeMX libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
kekiefer committed Oct 1, 2016
1 parent 678d3bb commit ce56e3f
Show file tree
Hide file tree
Showing 81 changed files with 112,936 additions and 80,399 deletions.
118 changes: 59 additions & 59 deletions .cproject

Large diffs are not rendered by default.

5,607 changes: 2,813 additions & 2,794 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f401xc.h

Large diffs are not rendered by default.

5,608 changes: 2,813 additions & 2,795 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f401xe.h

Large diffs are not rendered by default.

9,827 changes: 4,923 additions & 4,904 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f405xx.h

Large diffs are not rendered by default.

10,560 changes: 5,294 additions & 5,266 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h

Large diffs are not rendered by default.

4,605 changes: 2,311 additions & 2,294 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f410cx.h

Large diffs are not rendered by default.

4,607 changes: 2,312 additions & 2,295 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f410rx.h

Large diffs are not rendered by default.

4,583 changes: 2,300 additions & 2,283 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f410tx.h

Large diffs are not rendered by default.

5,640 changes: 2,829 additions & 2,811 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h

Large diffs are not rendered by default.

6,743 changes: 6,743 additions & 0 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412cx.h

Large diffs are not rendered by default.

7,393 changes: 7,393 additions & 0 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412rx.h

Large diffs are not rendered by default.

7,392 changes: 7,392 additions & 0 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412vx.h

Large diffs are not rendered by default.

7,394 changes: 7,394 additions & 0 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412zx.h

Large diffs are not rendered by default.

9,981 changes: 5,000 additions & 4,981 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f415xx.h

Large diffs are not rendered by default.

10,714 changes: 5,371 additions & 5,343 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f417xx.h

Large diffs are not rendered by default.

11,492 changes: 5,770 additions & 5,722 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f427xx.h

Large diffs are not rendered by default.

11,638 changes: 5,843 additions & 5,795 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f429xx.h

Large diffs are not rendered by default.

11,652 changes: 5,850 additions & 5,802 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f437xx.h

Large diffs are not rendered by default.

11,793 changes: 5,920 additions & 5,873 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f439xx.h

Large diffs are not rendered by default.

10,846 changes: 5,438 additions & 5,408 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f446xx.h

Large diffs are not rendered by default.

13,435 changes: 6,741 additions & 6,694 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f469xx.h

Large diffs are not rendered by default.

13,590 changes: 6,819 additions & 6,771 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f479xx.h

Large diffs are not rendered by default.

27 changes: 20 additions & 7 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
Expand Up @@ -2,8 +2,8 @@
******************************************************************************
* @file stm32f4xx.h
* @author MCD Application Team
* @version V2.4.3
* @date 22-January-2016
* @version V2.5.1
* @date 28-June-2016
* @brief CMSIS STM32F4xx Device Peripheral Access Layer Header File.
*
* The file is the unique include file that the application programmer
Expand Down Expand Up @@ -78,7 +78,8 @@
!defined (STM32F427xx) && !defined (STM32F437xx) && !defined (STM32F429xx) && !defined (STM32F439xx) && \
!defined (STM32F401xC) && !defined (STM32F401xE) && !defined (STM32F410Tx) && !defined (STM32F410Cx) && \
!defined (STM32F410Rx) && !defined (STM32F411xE) && !defined (STM32F446xx) && !defined (STM32F469xx) && \
!defined (STM32F479xx)
!defined (STM32F479xx) && !defined (STM32F412Cx) && !defined (STM32F412Rx) && !defined (STM32F412Vx) && \
!defined (STM32F412Zx)
/* #define STM32F405xx */ /*!< STM32F405RG, STM32F405VG and STM32F405ZG Devices */
/* #define STM32F415xx */ /*!< STM32F415RG, STM32F415VG and STM32F415ZG Devices */
/* #define STM32F407xx */ /*!< STM32F407VG, STM32F407VE, STM32F407ZG, STM32F407ZE, STM32F407IG and STM32F407IE Devices */
Expand All @@ -101,6 +102,10 @@
STM32F469NG, STM32F469AE, STM32F469IE, STM32F469BE and STM32F469NE Devices */
/* #define STM32F479xx */ /*!< STM32F479AI, STM32F479II, STM32F479BI, STM32F479NI, STM32F479AG, STM32F479IG, STM32F479BG
and STM32F479NG Devices */
/* #define STM32F412Cx */ /*!< STM32F412CEU and STM32F412CGU Devices */
/* #define STM32F412Zx */ /*!< STM32F412ZET, STM32F412ZGT, STM32F412ZEJ and STM32F412ZGJ Devices */
/* #define STM32F412Vx */ /*!< STM32F412VET, STM32F412VGT, STM32F412VEH and STM32F412VGH Devices */
/* #define STM32F412Rx */ /*!< STM32F412RET, STM32F412RGT, STM32F412REY and STM32F412RGY Devices */
#endif

/* Tip: To avoid modifying this file each time you need to switch between these
Expand All @@ -116,11 +121,11 @@
#endif /* USE_HAL_DRIVER */

/**
* @brief CMSIS version number V2.4.3
* @brief CMSIS version number V2.5.1
*/
#define __STM32F4xx_CMSIS_VERSION_MAIN (0x02U) /*!< [31:24] main version */
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x03U) /*!< [15:8] sub2 version */
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x05U) /*!< [23:16] sub1 version */
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
#define __STM32F4xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
#define __STM32F4xx_CMSIS_VERSION ((__STM32F4xx_CMSIS_VERSION_MAIN << 24)\
|(__STM32F4xx_CMSIS_VERSION_SUB1 << 16)\
Expand Down Expand Up @@ -160,7 +165,7 @@
#elif defined(STM32F410Cx)
#include "stm32f410cx.h"
#elif defined(STM32F410Rx)
#include "stm32f410rx.h"
#include "stm32f410rx.h"
#elif defined(STM32F411xE)
#include "stm32f411xe.h"
#elif defined(STM32F446xx)
Expand All @@ -169,6 +174,14 @@
#include "stm32f469xx.h"
#elif defined(STM32F479xx)
#include "stm32f479xx.h"
#elif defined(STM32F412Cx)
#include "stm32f412cx.h"
#elif defined(STM32F412Zx)
#include "stm32f412zx.h"
#elif defined(STM32F412Rx)
#include "stm32f412rx.h"
#elif defined(STM32F412Vx)
#include "stm32f412vx.h"
#else
#error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
#endif
Expand Down
4 changes: 2 additions & 2 deletions Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
Expand Up @@ -2,8 +2,8 @@
******************************************************************************
* @file system_stm32f4xx.h
* @author MCD Application Team
* @version V2.4.3
* @date 22-January-2016
* @version V2.5.1
* @date 28-June-2016
* @brief CMSIS Cortex-M4 Device System Source File for STM32F4xx devices.
******************************************************************************
* @attention
Expand Down
Expand Up @@ -2,8 +2,8 @@
******************************************************************************
* @file startup_stm32f411xe.s
* @author MCD Application Team
* @version V2.4.3
* @date 22-January-2016
* @version V2.5.1
* @date 28-June-2016
* @brief STM32F411xExx Devices vector table for GCC based toolchains.
* This module performs:
* - Set the initial SP
Expand Down
Expand Up @@ -2,8 +2,8 @@
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V2.4.3
* @date 22-January-2016
* @version V2.5.1
* @date 28-June-2016
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File.
*
* This file provides two functions and one global variable to be called from
Expand Down Expand Up @@ -94,9 +94,10 @@
/*!< Uncomment the following line if you need to use external SRAM or SDRAM as data memory */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) || defined(STM32F417xx)\
|| defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx)
|| defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx)
/* #define DATA_IN_ExtSRAM */
#endif /* STM32F40xxx || STM32F41xxx || STM32F42xxx || STM32F43xxx || STM32F469xx || STM32F479xx */
#endif /* STM32F40xxx || STM32F41xxx || STM32F42xxx || STM32F43xxx || STM32F469xx || STM32F479xx ||\
STM32F412Zx || STM32F412Vx */

#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
Expand Down Expand Up @@ -301,7 +302,7 @@ void SystemInit_ExtMemCtl(void)
__IO uint32_t tmp = 0x00;

register uint32_t tmpreg = 0, timeout = 0xFFFF;
register uint32_t index;
register __IO uint32_t index;

/* Enable GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH and GPIOI interface clock */
RCC->AHB1ENR |= 0x000001F8;
Expand Down Expand Up @@ -466,7 +467,7 @@ void SystemInit_ExtMemCtl(void)
|| defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
#if defined (DATA_IN_ExtSDRAM)
register uint32_t tmpreg = 0, timeout = 0xFFFF;
register uint32_t index;
register __IO uint32_t index;

#if defined(STM32F446xx)
/* Enable GPIOA, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG interface
Expand Down Expand Up @@ -655,7 +656,7 @@ void SystemInit_ExtMemCtl(void)

#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) || defined(STM32F417xx)\
|| defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx)
|| defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx)

#if defined(DATA_IN_ExtSRAM)
/*-- GPIOs Configuration -----------------------------------------------------*/
Expand Down Expand Up @@ -732,18 +733,19 @@ void SystemInit_ExtMemCtl(void)
FMC_Bank1->BTCR[3] = 0x00110212;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F469xx || STM32F479xx */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)|| defined(STM32F417xx)
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)|| defined(STM32F417xx)\
|| defined(STM32F412Zx) || defined(STM32F412Vx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FSMCEN);
/* Configure and enable Bank1_SRAM2 */
FSMC_Bank1->BTCR[2] = 0x00001011;
FSMC_Bank1->BTCR[3] = 0x00000201;
FSMC_Bank1E->BWTR[2] = 0x0FFFFFFF;
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx */
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx || STM32F412Zx || STM32F412Vx */

#endif /* DATA_IN_ExtSRAM */
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx || STM32F427xx || STM32F437xx ||\
STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx || STM32F412Zx || STM32F412Vx */
(void)(tmp);
}
#endif /* DATA_IN_ExtSRAM && DATA_IN_ExtSDRAM */
Expand Down

0 comments on commit ce56e3f

Please sign in to comment.