comparison stm32f10x_conf.h @ 3:74e9b3baac1e

Jumbo commit to make things work. Note I have t
author Daniel O'Connor <darius@dons.net.au>
date Sun, 01 Jan 2012 11:01:13 +1030
parents c59513fd84fb
children
comparison
equal deleted inserted replaced
2:274e01fa5a4c 3:74e9b3baac1e
1 /** 1 /* Used to control which peripheral code is used */
2 ******************************************************************************
3 * @file USART/Polling/stm32f10x_conf.h
4 * @author MCD Application Team, mod. Martin Thomas for this project
5 * @version V3.0.0
6 * @date 04/18/2009
7 * @brief Library configuration file.
8 ******************************************************************************
9 * @copy
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 2009 STMicroelectronics</center></h2>
19 */
20 2
21 /* Define to prevent recursive inclusion -------------------------------------*/ 3 /* Define to prevent recursive inclusion -------------------------------------*/
22 #ifndef __STM32F10x_CONF_H 4 #ifndef __STM32F10x_CONF_H
23 #define __STM32F10x_CONF_H 5 #define __STM32F10x_CONF_H
24 6
25 /* Includes ------------------------------------------------------------------*/ 7 /* Includes ------------------------------------------------------------------*/
26 /* Uncomment the line below to enable peripheral header file inclusion */ 8 /* Uncomment the line below to enable peripheral header file inclusion */
27 /* #include "stm32f10x_adc.h" */ 9 #ifdef STM32F10X_ADC_EN
10 #include "stm32f10x_adc.h"
11 #endif
12 #ifdef STM32F10X_BKP_EN
28 #include "stm32f10x_bkp.h" 13 #include "stm32f10x_bkp.h"
29 /* #include "stm32f10x_can.h" */ 14 #endif
30 /* #include "stm32f10x_crc.h" */ 15 #ifdef STM32F10X_CAN_EN
31 /* #include "stm32f10x_dac.h" */ 16 #include "stm32f10x_can.h"
32 /* #include "stm32f10x_dbgmcu.h" */ 17 #endif
18 #ifdef STM32F10X_CRC_EN
19 #include "stm32f10x_crc.h"
20 #endif
21 #ifdef STM32F10X_DAC_EN
22 #include "stm32f10x_dac.h"
23 #endif
24 #ifdef STM32F10X_DBGMCU_EN
25 #include "stm32f10x_dbgmcu.h"
26 #endif
27 #ifdef STM32F10X_DMA_EN
33 #include "stm32f10x_dma.h" 28 #include "stm32f10x_dma.h"
34 /* #include "stm32f10x_exti.h" */ 29 #endif
30 #ifdef STM32F10X_EXTI_EN
31 #include "stm32f10x_exti.h"
32 #endif
33 #ifdef STM32F10X_FLASH_EN
35 #include "stm32f10x_flash.h" 34 #include "stm32f10x_flash.h"
36 /* #include "stm32f10x_fsmc.h" */ 35 #endif
36 #ifdef STM32F10X_FSMC_EN
37 #include "stm32f10x_fsmc.h"
38 #endif
39 #ifdef STM32F10X_GPIO_EN
37 #include "stm32f10x_gpio.h" 40 #include "stm32f10x_gpio.h"
38 /* #include "stm32f10x_i2c.h" */ 41 #endif
39 /* #include "stm32f10x_iwdg.h" */ 42 #ifdef STM32F10X_I2C_EN
43 #include "stm32f10x_i2c.h"
44 #endif
45 #ifdef STM32F10X_IWDG_EN
46 #include "stm32f10x_iwdg.h"
47 #endif
48 #ifdef STM32F10X_PWR_EN
40 #include "stm32f10x_pwr.h" 49 #include "stm32f10x_pwr.h"
50 #endif
51 #ifdef STM32F10X_RCC_EN
41 #include "stm32f10x_rcc.h" 52 #include "stm32f10x_rcc.h"
53 #endif
54 #ifdef STM32F10X_RTC_EN
42 #include "stm32f10x_rtc.h" 55 #include "stm32f10x_rtc.h"
43 /* #include "stm32f10x_sdio.h" */ 56 #endif
57 #ifdef STM32F10X_SDIO_EN
58 #include "stm32f10x_sdio.h"
59 #endif
60 #ifdef STM32F10X_SPI_EN
44 #include "stm32f10x_spi.h" 61 #include "stm32f10x_spi.h"
62 #endif
63 #ifdef STM32F10X_TIM_EN
45 #include "stm32f10x_tim.h" 64 #include "stm32f10x_tim.h"
65 #endif
66 #ifdef STM32F10X_USART_EN
46 #include "stm32f10x_usart.h" 67 #include "stm32f10x_usart.h"
47 /* #include "stm32f10x_wwdg.h" */ 68 #endif
69 #ifdef STM32F10X_WWDG_EN
70 #include "stm32f10x_wwdg.h"
71 #endif
72
48 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 73 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
74
49 75
50 /* Exported types ------------------------------------------------------------*/ 76 /* Exported types ------------------------------------------------------------*/
51 /* Exported constants --------------------------------------------------------*/ 77 /* Exported constants --------------------------------------------------------*/
52 /* Uncomment the line below to expanse the "assert_param" macro in the 78 /* Uncomment the line below to expanse the "assert_param" macro in the
53 Standard Peripheral Library drivers code */ 79 Standard Peripheral Library drivers code */