]> begriffs open source - cmsis-freertos/blob - Demo/CORTEX_STM32L152_Discovery_IAR/include/stm32l1xx_conf.h
Update README.md - branch main is now the base branch
[cmsis-freertos] / Demo / CORTEX_STM32L152_Discovery_IAR / include / stm32l1xx_conf.h
1 /**
2   ******************************************************************************
3   * @file    Project/STM32L1xx_StdPeriph_Template/stm32l1xx_conf.h
4   * @author  MCD Application Team
5   * @version V1.0.3
6   * @date    May-2013
7   * @brief   Library configuration file.
8   ******************************************************************************
9   * @attention
10   *
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.
17   *
18   * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
19   ******************************************************************************
20   */
21
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef __STM32L1xx_CONF_H
24 #define __STM32L1xx_CONF_H
25
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) */
49
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 */
55
56 /* Exported macro ------------------------------------------------------------*/
57 #ifdef  USE_FULL_ASSERT
58
59 /**
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.
64   * @retval None
65   */
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);
69 #else
70   #define assert_param(expr) ((void)0)
71 #endif /* USE_FULL_ASSERT */
72
73 #endif /* __STM32L1xx_CONF_H */
74
75 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/