fix based on https://gist.github.com/timbrom/1942280
[DSO138] / stm32f10x_conf.h
1 /**\r
2   ******************************************************************************\r
3   * @file    FSMC/SRAM/stm32f10x_conf.h \r
4   * @author  MCD Application Team\r
5   * @version V3.3.0\r
6   * @date    04/16/2010\r
7   * @brief   Library configuration file.\r
8   ******************************************************************************\r
9   * @copy\r
10   *\r
11   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS\r
12   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE\r
13   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY\r
14   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING\r
15   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE\r
16   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.\r
17   *\r
18   * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>\r
19   */ \r
20 \r
21 /* Define to prevent recursive inclusion -------------------------------------*/\r
22 #ifndef __STM32F10x_CONF_H\r
23 #define __STM32F10x_CONF_H\r
24 \r
25 /* Includes ------------------------------------------------------------------*/\r
26 /* Uncomment the line below to enable peripheral header file inclusion */\r
27 /* #include "stm32f10x_adc.h" */\r
28 /* #include "stm32f10x_bkp.h" */\r
29 /* #include "stm32f10x_can.h" */\r
30 /* #include "stm32f10x_cec.h" */\r
31 /* #include "stm32f10x_crc.h" */\r
32 /* #include "stm32f10x_dac.h" */\r
33 /* #include "stm32f10x_dbgmcu.h" */\r
34 /* #include "stm32f10x_dma.h" */\r
35 //#include "stm32f10x_exti.h"\r
36 #include "stm32f10x_flash.h" \r
37 #include "stm32f10x_fsmc.h"\r
38 #include "stm32f10x_gpio.h"\r
39 /* #include "stm32f10x_i2c.h" */\r
40 /* #include "stm32f10x_iwdg.h" */\r
41 /* #include "stm32f10x_pwr.h" */\r
42 #include "stm32f10x_rcc.h"\r
43 /* #include "stm32f10x_rtc.h" */\r
44 /* #include "stm32f10x_sdio.h" */\r
45 #include "stm32f10x_spi.h"\r
46 #include "stm32f10x_tim.h"\r
47 #include "stm32f10x_usart.h"\r
48 /* #include "stm32f10x_wwdg.h" */\r
49 #include "misc.h"  /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */\r
50 \r
51 /* Exported types ------------------------------------------------------------*/\r
52 /* Exported constants --------------------------------------------------------*/\r
53 /* Uncomment the line below to expanse the "assert_param" macro in the \r
54    Standard Peripheral Library drivers code */\r
55 #define USE_FULL_ASSERT    1 \r
56 \r
57 /* Exported macro ------------------------------------------------------------*/\r
58 #ifdef  USE_FULL_ASSERT\r
59 \r
60 /**\r
61   * @brief  The assert_param macro is used for function's parameters check.\r
62   * @param  expr: If expr is false, it calls assert_failed function\r
63   *   which reports the name of the source file and the source\r
64   *   line number of the call that failed. \r
65   *   If expr is true, it returns no value.\r
66   * @retval None\r
67   */\r
68   #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))\r
69 /* Exported functions ------------------------------------------------------- */\r
70 //  void assert_failed(uint8_t* file, uint32_t line);\r
71 #else\r
72   #define assert_param(expr) ((void)0)\r
73 #endif /* USE_FULL_ASSERT */\r
74 \r
75 #endif /* __STM32F10x_CONF_H */\r
76 \r
77 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/\r