mbed SDK library sources

Fork of mbed-src by mbed official

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Mon Dec 02 11:30:05 2013 +0000
Revision:
52:a51c77007319
Child:
70:c1fbde68b492
Synchronized with git revision 49df530ae72ce97ccc773d1f2c13b38e868e6abd

Full URL: https://github.com/mbedmicro/mbed/commit/49df530ae72ce97ccc773d1f2c13b38e868e6abd/

Add STMicroelectronics NUCLEO_F103RB target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 52:a51c77007319 1 /**
mbed_official 52:a51c77007319 2 ******************************************************************************
mbed_official 52:a51c77007319 3 * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_conf.h
mbed_official 52:a51c77007319 4 * @author MCD Application Team
mbed_official 52:a51c77007319 5 * @version V3.5.0
mbed_official 52:a51c77007319 6 * @date 08-April-2011
mbed_official 52:a51c77007319 7 * @brief Library configuration file.
mbed_official 52:a51c77007319 8 ******************************************************************************
mbed_official 52:a51c77007319 9 * @attention
mbed_official 52:a51c77007319 10 *
mbed_official 52:a51c77007319 11 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
mbed_official 52:a51c77007319 12 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
mbed_official 52:a51c77007319 13 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
mbed_official 52:a51c77007319 14 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
mbed_official 52:a51c77007319 15 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
mbed_official 52:a51c77007319 16 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
mbed_official 52:a51c77007319 17 *
mbed_official 52:a51c77007319 18 * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
mbed_official 52:a51c77007319 19 ******************************************************************************
mbed_official 52:a51c77007319 20 */
mbed_official 52:a51c77007319 21
mbed_official 52:a51c77007319 22 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 52:a51c77007319 23 #ifndef __STM32F10x_CONF_H
mbed_official 52:a51c77007319 24 #define __STM32F10x_CONF_H
mbed_official 52:a51c77007319 25
mbed_official 52:a51c77007319 26 /* Includes ------------------------------------------------------------------*/
mbed_official 52:a51c77007319 27 /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */
mbed_official 52:a51c77007319 28 #include "stm32f10x_adc.h"
mbed_official 52:a51c77007319 29 #include "stm32f10x_bkp.h"
mbed_official 52:a51c77007319 30 #include "stm32f10x_can.h"
mbed_official 52:a51c77007319 31 #include "stm32f10x_cec.h"
mbed_official 52:a51c77007319 32 #include "stm32f10x_crc.h"
mbed_official 52:a51c77007319 33 #include "stm32f10x_dac.h"
mbed_official 52:a51c77007319 34 #include "stm32f10x_dbgmcu.h"
mbed_official 52:a51c77007319 35 #include "stm32f10x_dma.h"
mbed_official 52:a51c77007319 36 #include "stm32f10x_exti.h"
mbed_official 52:a51c77007319 37 #include "stm32f10x_flash.h"
mbed_official 52:a51c77007319 38 #include "stm32f10x_fsmc.h"
mbed_official 52:a51c77007319 39 #include "stm32f10x_gpio.h"
mbed_official 52:a51c77007319 40 #include "stm32f10x_i2c.h"
mbed_official 52:a51c77007319 41 #include "stm32f10x_iwdg.h"
mbed_official 52:a51c77007319 42 #include "stm32f10x_pwr.h"
mbed_official 52:a51c77007319 43 #include "stm32f10x_rcc.h"
mbed_official 52:a51c77007319 44 #include "stm32f10x_rtc.h"
mbed_official 52:a51c77007319 45 #include "stm32f10x_sdio.h"
mbed_official 52:a51c77007319 46 #include "stm32f10x_spi.h"
mbed_official 52:a51c77007319 47 #include "stm32f10x_tim.h"
mbed_official 52:a51c77007319 48 #include "stm32f10x_usart.h"
mbed_official 52:a51c77007319 49 #include "stm32f10x_wwdg.h"
mbed_official 52:a51c77007319 50 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
mbed_official 52:a51c77007319 51
mbed_official 52:a51c77007319 52 /* Exported types ------------------------------------------------------------*/
mbed_official 52:a51c77007319 53 /* Exported constants --------------------------------------------------------*/
mbed_official 52:a51c77007319 54 /* Uncomment the line below to expanse the "assert_param" macro in the
mbed_official 52:a51c77007319 55 Standard Peripheral Library drivers code */
mbed_official 52:a51c77007319 56 /* #define USE_FULL_ASSERT 1 */
mbed_official 52:a51c77007319 57
mbed_official 52:a51c77007319 58 /* Exported macro ------------------------------------------------------------*/
mbed_official 52:a51c77007319 59 #ifdef USE_FULL_ASSERT
mbed_official 52:a51c77007319 60
mbed_official 52:a51c77007319 61 /**
mbed_official 52:a51c77007319 62 * @brief The assert_param macro is used for function's parameters check.
mbed_official 52:a51c77007319 63 * @param expr: If expr is false, it calls assert_failed function which reports
mbed_official 52:a51c77007319 64 * the name of the source file and the source line number of the call
mbed_official 52:a51c77007319 65 * that failed. If expr is true, it returns no value.
mbed_official 52:a51c77007319 66 * @retval None
mbed_official 52:a51c77007319 67 */
mbed_official 52:a51c77007319 68 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
mbed_official 52:a51c77007319 69 /* Exported functions ------------------------------------------------------- */
mbed_official 52:a51c77007319 70 void assert_failed(uint8_t* file, uint32_t line);
mbed_official 52:a51c77007319 71 #else
mbed_official 52:a51c77007319 72 #define assert_param(expr) ((void)0)
mbed_official 52:a51c77007319 73 #endif /* USE_FULL_ASSERT */
mbed_official 52:a51c77007319 74
mbed_official 52:a51c77007319 75 #endif /* __STM32F10x_CONF_H */
mbed_official 52:a51c77007319 76
mbed_official 52:a51c77007319 77 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/