Adding original source of vl factory demo
[fw/stlink] / example / 32vl_factory_demo / stm32f10x_conf.h
diff --git a/example/32vl_factory_demo/stm32f10x_conf.h b/example/32vl_factory_demo/stm32f10x_conf.h
new file mode 100644 (file)
index 0000000..706b92e
--- /dev/null
@@ -0,0 +1,76 @@
+/**\r
+  ******************************************************************************\r
+  * @file    Demo/inc/stm32f10x_conf.h \r
+  * @author  MCD Application Team\r
+  * @version V1.0.0\r
+  * @date    09/13/2010\r
+  * @brief   Library configuration file.\r
+  ******************************************************************************\r
+  * @copy\r
+  *\r
+  * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS\r
+  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE\r
+  * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY\r
+  * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING\r
+  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE\r
+  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.\r
+  *\r
+  * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>\r
+  */ \r
+\r
+/* Define to prevent recursive inclusion -------------------------------------*/\r
+#ifndef __STM32F10x_CONF_H\r
+#define __STM32F10x_CONF_H\r
+\r
+/* Includes ------------------------------------------------------------------*/\r
+/* Uncomment the line below to enable peripheral header file inclusion */\r
+/* #include "stm32f10x_adc.h" */\r
+/* #include "stm32f10x_bkp.h" */\r
+/* #include "stm32f10x_can.h" */\r
+/* #include "stm32f10x_crc.h" */\r
+/* #include "stm32f10x_dac.h" */\r
+/* #include "stm32f10x_dbgmcu.h" */\r
+/* #include "stm32f10x_dma.h" */\r
+#include "stm32f10x_exti.h"\r
+#include "stm32f10x_flash.h"\r
+/* #include "stm32f10x_fsmc.h" */\r
+#include "stm32f10x_gpio.h"\r
+/* #include "stm32f10x_i2c.h" */\r
+/* #include "stm32f10x_iwdg.h" */\r
+#include "stm32f10x_pwr.h"\r
+#include "stm32f10x_rcc.h"\r
+/* #include "stm32f10x_rtc.h" */\r
+/* #include "stm32f10x_sdio.h" */\r
+/* #include "stm32f10x_spi.h" */\r
+/* #include "stm32f10x_tim.h" */\r
+/* #include "stm32f10x_usart.h" */\r
+/* #include "stm32f10x_wwdg.h" */\r
+#include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */\r
+\r
+/* Exported types ------------------------------------------------------------*/\r
+/* Exported constants --------------------------------------------------------*/\r
+/* Uncomment the line below to expanse the "assert_param" macro in the \r
+   Standard Peripheral Library drivers code */\r
+/* #define USE_FULL_ASSERT    1 */\r
+\r
+/* Exported macro ------------------------------------------------------------*/\r
+#ifdef  USE_FULL_ASSERT\r
+\r
+/**\r
+  * @brief  The assert_param macro is used for function's parameters check.\r
+  * @param  expr: If expr is false, it calls assert_failed function\r
+  *   which reports the name of the source file and the source\r
+  *   line number of the call that failed. \r
+  *   If expr is true, it returns no value.\r
+  * @retval None\r
+  */\r
+  #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))\r
+/* Exported functions ------------------------------------------------------- */\r
+  void assert_failed(uint8_t* file, uint32_t line);\r
+#else\r
+  #define assert_param(expr) ((void)0)\r
+#endif /* USE_FULL_ASSERT */\r
+\r
+#endif /* __STM32F10x_CONF_H */\r
+\r
+/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/\r