LP-512 pios_usart: Shared ports support: Initializing same uart multiple times will...
[librepilot.git] / flight / pios / inc / stm32f2xx_conf.h
blobc1d4af1cee6ef8d6b3fb1c75635931c021a49245
1 /**
2 ******************************************************************************
3 * @file Project/STM32F2xx_StdPeriph_Template/stm32f2xx_conf.h
4 * @author MCD Application Team
5 * @version V0.0.4
6 * @date 13-January-2011
7 * @brief Library configuration file.
8 ******************************************************************************
9 * @attention
11 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
12 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
13 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
14 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
15 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
16 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
18 * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
19 ******************************************************************************
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef __STM32F2xx_CONF_H
24 #define __STM32F2xx_CONF_H
26 /* Includes ------------------------------------------------------------------*/
27 /* Uncomment the line below to enable peripheral header file inclusion */
28 #include "stm32f2xx_adc.h"
29 // #include "stm32f2xx_can.h"
30 #include "stm32f2xx_crc.h"
31 // #include "stm32f2xx_cryp.h"
32 #include "stm32f2xx_dac.h"
33 // #include "stm32f2xx_dbgmcu.h"
34 // #include "stm32f2xx_dcmi.h"
35 #include "stm32f2xx_dma.h"
36 #include "stm32f2xx_exti.h"
37 #include "stm32f2xx_flash.h"
38 // #include "stm32f2xx_fsmc.h"
39 // #include "stm32f2xx_hash.h"
40 #include "stm32f2xx_gpio.h"
41 #include "stm32f2xx_i2c.h"
42 // #include "stm32f2xx_iwdg.h"
43 #include "stm32f2xx_pwr.h"
44 #include "stm32f2xx_rcc.h"
45 // #include "stm32f2xx_rng.h"
46 #include "stm32f2xx_rtc.h"
47 // #include "stm32f2xx_sdio.h"
48 #include "stm32f2xx_spi.h"
49 #include "stm32f2xx_syscfg.h"
50 #include "stm32f2xx_tim.h"
51 #include "stm32f2xx_usart.h"
52 #include "stm32f2xx_wwdg.h"
53 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
55 /* Exported types ------------------------------------------------------------*/
56 /* Exported constants --------------------------------------------------------*/
58 /* If an external clock source is used, then the value of the following define
59 should be set to the value of the external clock source, else, if no external
60 clock is used, keep this define commented */
61 /*#define I2S_EXTERNAL_CLOCK_VAL 12288000 */ /* Value of the external clock in Hz */
64 /* Uncomment the line below to expanse the "assert_param" macro in the
65 Standard Peripheral Library drivers code */
66 /* #define USE_FULL_ASSERT 1 */
68 /* Exported macro ------------------------------------------------------------*/
69 #ifdef USE_FULL_ASSERT
71 /**
72 * @brief The assert_param macro is used for function's parameters check.
73 * @param expr: If expr is false, it calls assert_failed function
74 * which reports the name of the source file and the source
75 * line number of the call that failed.
76 * If expr is true, it returns no value.
77 * @retval None
79 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
80 /* Exported functions ------------------------------------------------------- */
81 void assert_failed(uint8_t *file, uint32_t line);
82 #else
83 #define assert_param(expr) ((void)0)
84 #endif /* USE_FULL_ASSERT */
86 #endif /* __STM32F2xx_CONF_H */
88 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/