/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name          : 75x_conf.h
* Author             : MCD Application Team
* Date First Issued  : 10/01/2006 : V1.0
* Description        : Library configuration file.
********************************************************************************
* History:
* 10/01/2006 : V1.0
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __75x_CONF_H
#define __75x_CONF_H

/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Comment the line below to compile the library in release mode */

#ifdef __IAR_SYSTEMS_ICC__     /* IAR Compiler */
#define inline inline
#define RAM_exe  __ramfunc
#endif


#ifdef  __CC_ARM               /* ARM Compiler */
#define RAM_exe
#define inline __inline
#endif

#ifdef __GNUC__                /* GNUARM Compiler */
#define RAM_exe // TODO: use a postfix __attribute__() instead of a prefix
                // to define a section in RAM 
#define inline static inline
#endif

/************************************* SMI ************************************/
//#define _SMI

/************************************* CFG ************************************/
#define _CFG

/************************************* MRCC ************************************/
#define _MRCC

/************************************* ADC ************************************/
//#define _ADC

/************************************* TB *************************************/
//#define _TB

/************************************* TIM ************************************/
//#define _TIM
//#define _TIM0
//#define _TIM1
//#define _TIM2

/************************************* PWM ************************************/
//#define _PWM

/************************************* WDG ************************************/
#define _WDG

/************************************* SSP ************************************/
//#define _SSP
//#define _SSP0
//#define _SSP1

/************************************* CAN ************************************/
//#define _CAN

/************************************* I2C ************************************/
//#define _I2C

/************************************* UART ***********************************/
#define _UART
//#define _UART0
#define _UART1
//#define _UART2

/************************************* GPIO ***********************************/
#define _GPIO
#define _GPIO0
#define _GPIO1
//#define _GPIO2
//#define _GPIOREMAP

/************************************* DMA ************************************/
//#define _DMA
//#define _DMA_Stream0
//#define _DMA_Stream1
//#define _DMA_Stream2
//#define _DMA_Stream3

/************************************* RTC ************************************/
//#define _RTC

/************************************* EXTIT **********************************/
#define _EXTIT

/************************************* EIC ************************************/
#define _EIC

/* Comment the following line, depending on the external Quartz oscillator used  
   in your application */
#define Main_Oscillator    4000000   /* 4 MHz Quartz oscillator used */
//#define Main_Oscillator    8000000   /* 8 MHz Quartz oscillator used */

/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */

#endif /* __75x_CONF_H */

/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/

