2 ******************************************************************************
3 * @file Project/STM32L1xx_StdPeriph_Template/stm32l1xx_conf.h
4 * @author MCD Application Team
7 * @brief Library configuration file.
8 ******************************************************************************
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>© COPYRIGHT 2010 STMicroelectronics</center></h2>
19 ******************************************************************************
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef __STM32L1xx_CONF_H
24 #define __STM32L1xx_CONF_H
26 /* Includes ------------------------------------------------------------------*/
27 /* Comment the line below to disable peripheral header file inclusion */
28 //#include "stm32l1xx_adc.h"
29 //#include "stm32l1xx_crc.h"
30 //#include "stm32l1xx_comp.h"
31 //#include "stm32l1xx_dac.h"
32 //#include "stm32l1xx_dbgmcu.h"
33 //#include "stm32l1xx_dma.h"
34 #include "stm32l1xx_exti.h"
35 //#include "stm32l1xx_flash.h"
36 #include "stm32l1xx_gpio.h"
37 #include "stm32l1xx_syscfg.h"
38 //#include "stm32l1xx_i2c.h"
39 //#include "stm32l1xx_iwdg.h"
40 #include "stm32l1xx_lcd.h"
41 #include "stm32l1xx_pwr.h"
42 #include "stm32l1xx_rcc.h"
43 #include "stm32l1xx_rtc.h"
44 //#include "stm32l1xx_spi.h"
45 #include "stm32l1xx_tim.h"
46 //#include "stm32l1xx_usart.h"
47 //#include "stm32l1xx_wwdg.h"
48 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
50 /* Exported types ------------------------------------------------------------*/
51 /* Exported constants --------------------------------------------------------*/
52 /* Uncomment the line below to expanse the "assert_param" macro in the
53 Standard Peripheral Library drivers code */
54 /* #define USE_FULL_ASSERT 1 */
56 /* Exported macro ------------------------------------------------------------*/
57 #ifdef USE_FULL_ASSERT
60 * @brief The assert_param macro is used for function's parameters check.
61 * @param expr: If expr is false, it calls assert_failed function which reports
62 * the name of the source file and the source line number of the call
63 * that failed. If expr is true, it returns no value.
66 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
67 /* Exported functions ------------------------------------------------------- */
68 void assert_failed(uint8_t* file, uint32_t line);
70 #define assert_param(expr) ((void)0)
71 #endif /* USE_FULL_ASSERT */
73 #endif /* __STM32L1xx_CONF_H */
75 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/