LP-512 pios_usart: Shared ports support: Initializing same uart multiple times will...
[librepilot.git] / flight / pios / inc / stm32f0xx_conf.h
blob0af02ca84bc438be33a4337260346b603e6ab394
1 /**
2 ******************************************************************************
3 * @file Project/STM32F0xx_StdPeriph_Templates/stm32f0xx_conf.h
4 * @author MCD Application Team
5 * @version V1.3.1
6 * @date 17-January-2014
7 * @brief Library configuration file.
8 ******************************************************************************
9 * @attention
11 * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
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:
17 * http://www.st.com/software_license_agreement_liberty_v2
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.
25 ******************************************************************************
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __STM32F0XX_CONF_H
30 #define __STM32F0XX_CONF_H
32 /* Includes ------------------------------------------------------------------*/
33 /* Comment the line below to disable peripheral header file inclusion */
34 #include "stm32f0xx_adc.h"
35 // #include "stm32f0xx_can.h"
36 // #include "stm32f0xx_cec.h"
37 #include "stm32f0xx_crc.h"
38 #include "stm32f0xx_crs.h"
39 // #include "stm32f0xx_comp.h"
40 // #include "stm32f0xx_dac.h"
41 #include "stm32f0xx_dbgmcu.h"
42 #include "stm32f0xx_dma.h"
43 #include "stm32f0xx_exti.h"
44 #include "stm32f0xx_flash.h"
45 #include "stm32f0xx_gpio.h"
46 #include "stm32f0xx_syscfg.h"
47 #include "stm32f0xx_i2c.h"
48 #include "stm32f0xx_iwdg.h"
49 #include "stm32f0xx_pwr.h"
50 #include "stm32f0xx_rcc.h"
51 #include "stm32f0xx_rtc.h"
52 #include "stm32f0xx_spi.h"
53 #include "stm32f0xx_tim.h"
54 #include "stm32f0xx_usart.h"
55 #include "stm32f0xx_wwdg.h"
56 #include "stm32f0xx_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
58 /* Exported types ------------------------------------------------------------*/
59 /* Exported constants --------------------------------------------------------*/
60 /* Uncomment the line below to expanse the "assert_param" macro in the
61 Standard Peripheral Library drivers code */
62 /* #define USE_FULL_ASSERT 1 */
64 /* Exported macro ------------------------------------------------------------*/
65 #ifdef USE_FULL_ASSERT
67 /**
68 * @brief The assert_param macro is used for function's parameters check.
69 * @param expr: If expr is false, it calls assert_failed function which reports
70 * the name of the source file and the source line number of the call
71 * that failed. If expr is true, it returns no value.
72 * @retval None
74 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
75 /* Exported functions ------------------------------------------------------- */
76 void assert_failed(uint8_t *file, uint32_t line);
77 #else
78 #define assert_param(expr) ((void)0)
79 #endif /* USE_FULL_ASSERT */
81 #endif /* __STM32F0XX_CONF_H */
83 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/