• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2   ******************************************************************************
3   * @file    Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_conf.h
4   * @author  MCD Application Team
5   * @version V1.4.0
6   * @date    04-August-2014
7   * @brief   Library configuration file.
8   ******************************************************************************
9   * @attention
10   *
11   * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
12   *
13   * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
14   * You may not use this file except in compliance with the License.
15   * You may obtain a copy of the License at:
16   *
17   *        http://www.st.com/software_license_agreement_liberty_v2
18   *
19   * Unless required by applicable law or agreed to in writing, software
20   * distributed under the License is distributed on an "AS IS" BASIS,
21   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22   * See the License for the specific language governing permissions and
23   * limitations under the License.
24   *
25   ******************************************************************************
26   */
27 
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __STM32F4xx_CONF_H
30 #define __STM32F4xx_CONF_H
31 
32 /* Includes ------------------------------------------------------------------*/
33 /* Uncomment the line below to enable peripheral header file inclusion */
34 #include "stm32f4xx_adc.h"
35 #include "stm32f4xx_crc.h"
36 #include "stm32f4xx_dbgmcu.h"
37 #include "stm32f4xx_dma.h"
38 #include "stm32f4xx_exti.h"
39 #include "stm32f4xx_flash.h"
40 #include "stm32f4xx_gpio.h"
41 #include "stm32f4xx_i2c.h"
42 #include "stm32f4xx_iwdg.h"
43 #include "stm32f4xx_pwr.h"
44 #include "stm32f4xx_rcc.h"
45 #include "stm32f4xx_rtc.h"
46 #include "stm32f4xx_sdio.h"
47 #include "stm32f4xx_spi.h"
48 #include "stm32f4xx_syscfg.h"
49 #include "stm32f4xx_tim.h"
50 #include "stm32f4xx_usart.h"
51 #include "stm32f4xx_wwdg.h"
52 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
53 
54 #if defined (STM32F429_439xx)
55 #include "stm32f4xx_cryp.h"
56 #include "stm32f4xx_hash.h"
57 #include "stm32f4xx_rng.h"
58 #include "stm32f4xx_can.h"
59 #include "stm32f4xx_dac.h"
60 #include "stm32f4xx_dcmi.h"
61 #include "stm32f4xx_dma2d.h"
62 #include "stm32f4xx_fmc.h"
63 #include "stm32f4xx_ltdc.h"
64 #include "stm32f4xx_sai.h"
65 #endif /* STM32F429_439xx */
66 
67 #if defined (STM32F427_437xx)
68 #include "stm32f4xx_cryp.h"
69 #include "stm32f4xx_hash.h"
70 #include "stm32f4xx_rng.h"
71 #include "stm32f4xx_can.h"
72 #include "stm32f4xx_dac.h"
73 #include "stm32f4xx_dcmi.h"
74 #include "stm32f4xx_dma2d.h"
75 #include "stm32f4xx_fmc.h"
76 #include "stm32f4xx_sai.h"
77 #endif /* STM32F427_437xx */
78 
79 #if defined (STM32F40_41xxx)
80 #include "stm32f4xx_cryp.h"
81 #include "stm32f4xx_hash.h"
82 #include "stm32f4xx_rng.h"
83 #include "stm32f4xx_can.h"
84 #include "stm32f4xx_dac.h"
85 #include "stm32f4xx_dcmi.h"
86 #include "stm32f4xx_fsmc.h"
87 #endif /* STM32F40_41xxx */
88 
89 #if defined (STM32F411xE)
90 #include "stm32f4xx_flash_ramfunc.h"
91 #endif /* STM32F411xE */
92 /* Exported types ------------------------------------------------------------*/
93 /* Exported constants --------------------------------------------------------*/
94 
95 /* If an external clock source is used, then the value of the following define
96    should be set to the value of the external clock source, else, if no external
97    clock is used, keep this define commented */
98 /*#define I2S_EXTERNAL_CLOCK_VAL   12288000 */ /* Value of the external clock in Hz */
99 
100 
101 /* Uncomment the line below to expanse the "assert_param" macro in the
102    Standard Peripheral Library drivers code */
103 /* #define USE_FULL_ASSERT    1 */
104 
105 /* Exported macro ------------------------------------------------------------*/
106 #ifdef  USE_FULL_ASSERT
107 
108 /**
109   * @brief  The assert_param macro is used for function's parameters check.
110   * @param  expr: If expr is false, it calls assert_failed function
111   *   which reports the name of the source file and the source
112   *   line number of the call that failed.
113   *   If expr is true, it returns no value.
114   * @retval None
115   */
116   #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
117 /* Exported functions ------------------------------------------------------- */
118   void assert_failed(uint8_t* file, uint32_t line);
119 #else
120   #define assert_param(expr) ((void)0)
121 #endif /* USE_FULL_ASSERT */
122 
123 #endif /* __STM32F4xx_CONF_H */
124 
125 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
126