OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [CORTEX_STM32F103_IAR/] [stm32f10x_conf.h] - Blame information for rev 606

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 582 jeremybenn
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
2
* File Name          : stm32f10x_conf.h
3
* Author             : MCD Application Team
4
* Date First Issued  : 09/29/2006
5
* Description        : Library configuration file.
6
********************************************************************************
7
* History:
8
* mm/dd/yyyy: V0.1
9
* 09/29/2006: V0.01
10
********************************************************************************
11
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
12
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
13
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
14
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
15
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
16
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
17
*******************************************************************************/
18
 
19
/* Define to prevent recursive inclusion -------------------------------------*/
20
#ifndef __STM32F10x_CONF_H
21
#define __STM32F10x_CONF_H
22
 
23
/* Includes ------------------------------------------------------------------*/
24
#include "stm32f10x_type.h"
25
 
26
/* Exported types ------------------------------------------------------------*/
27
/* Exported constants --------------------------------------------------------*/
28
/* Comment the line below to compile the library in release mode */
29
#define DEBUG
30
 
31
/* Comment the line below to disable the specific peripheral inclusion */
32
/************************************* ADC ************************************/
33
//#define _ADC
34
//#define _ADC1
35
//#define _ADC2
36
 
37
/************************************* CAN ************************************/
38
//#define _CAN
39
 
40
/************************************* DMA ************************************/
41
//#define _DMA
42
//#define _DMA_Channel1
43
//#define _DMA_Channel2
44
//#define _DMA_Channel3
45
//#define _DMA_Channel4
46
//#define _DMA_Channel5
47
//#define _DMA_Channel6
48
//#define _DMA_Channel7
49
 
50
/************************************* EXTI ***********************************/
51
#define _EXTI
52
 
53
/************************************* GPIO ***********************************/
54
#define _GPIO
55
#define _GPIOA
56
#define _GPIOB
57
#define _GPIOC
58
#define _GPIOD
59
#define _GPIOE
60
#define _AFIO
61
 
62
/************************************* I2C ************************************/
63
//#define _I2C
64
//#define _I2C1
65
//#define _I2C2
66
 
67
/************************************* IWDG ***********************************/
68
//#define _IWDG
69
 
70
/************************************* NVIC ***********************************/
71
#define _NVIC
72
#define _SCB
73
 
74
/************************************* BKP ************************************/
75
//#define _BKP
76
 
77
/************************************* PWR ************************************/
78
//#define _PWR
79
 
80
/************************************* RCC ************************************/
81
#define _RCC
82
 
83
/************************************* RTC ************************************/
84
//#define _RTC
85
 
86
/************************************* SPI ************************************/
87
#define _SPI
88
#define _SPI1
89
#define _SPI2
90
 
91
/************************************* SysTick ********************************/
92
#define _SysTick
93
 
94
/************************************* TIM ************************************/
95
//#define _TIM
96
#define _TIM2
97
#define _TIM3
98
//#define _TIM4
99
 
100
/************************************* USART **********************************/
101
#define _USART
102
#define _USART1
103
//#define _USART2
104
//#define _USART3
105
 
106
/************************************* WWDG ***********************************/
107
//#define _WWDG
108
 
109
/* In the following line adjust the value of External High Speed oscillator (HSE)
110
   used in your application */
111
#define HSE_Value    ((u32)8000000)   /* Value of the External oscillator in Hz*/
112
 
113
/* Exported macro ------------------------------------------------------------*/
114
#undef assert
115
#ifdef  DEBUG
116
/*******************************************************************************
117
* Macro Name     : assert
118
* Description    : The assert macro is used for function's parameters check.
119
*                  It is used only if the library is compiled in DEBUG mode.
120
* Input          : - expr: If expr is false, it calls assert_failed function
121
*                    which reports the name of the source file and the source
122
*                    line number of the call that failed.
123
*                    If expr is true, it returns no value.
124
* Return         : None
125
*******************************************************************************/
126
  #define assert(expr) ((expr) ? (void)0 : assert_failed(__FILE__, __LINE__))
127
/* Exported functions ------------------------------------------------------- */
128
  void assert_failed(u8* file, u32 line);
129
#else
130
  #define assert(expr) ((void)0)
131
#endif /* DEBUG */
132
 
133
/* Exported functions ------------------------------------------------------- */
134
 
135
#endif /* __STM32F10x_CONF_H */
136
 
137
/******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.