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

Subversion Repositories openrisc

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

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
#define _SPI3
91
 
92
/************************************* SysTick ********************************/
93
#define _SysTick
94
 
95
/************************************* TIM ************************************/
96
//#define _TIM
97
#define _TIM2
98
#define _TIM3
99
//#define _TIM4
100
 
101
/************************************* USART **********************************/
102
#define _USART
103
#define _USART1
104
//#define _USART2
105
//#define _USART3
106
 
107
/************************************* WWDG ***********************************/
108
//#define _WWDG
109
 
110
/* In the following line adjust the value of External High Speed oscillator (HSE)
111
   used in your application */
112
#define HSE_Value    ((u32)25000000)   /* Value of the External oscillator in Hz*/
113
 
114
/* Exported macro ------------------------------------------------------------*/
115
#undef assert
116
#ifdef  NOT_WANTED_DEBUG
117
/*******************************************************************************
118
* Macro Name     : assert
119
* Description    : The assert macro is used for function's parameters check.
120
*                  It is used only if the library is compiled in DEBUG mode.
121
* Input          : - expr: If expr is false, it calls assert_failed function
122
*                    which reports the name of the source file and the source
123
*                    line number of the call that failed.
124
*                    If expr is true, it returns no value.
125
* Return         : None
126
*******************************************************************************/
127
  #define assert(expr) ((expr) ? (void)0 : assert_failed(__FILE__, __LINE__))
128
  #define assert_param( x )
129
/* Exported functions ------------------------------------------------------- */
130
  void assert_failed(u8* file, u32 line);
131
#else
132
  #define assert(expr) ((void)0)
133
  #define assert_param( x )
134
#endif /* DEBUG */
135
 
136
/* Exported functions ------------------------------------------------------- */
137
 
138
#endif /* __STM32F10x_CONF_H */
139
 
140
/******************* (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.