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

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
emilmont
Date:
Fri Feb 14 14:36:43 2014 +0000
Revision:
77:869cf507173a
Child:
81:7d30d6019079
Release 77 of the mbed library

Main changes:
* Add target NUCLEO_F030R8
* Add target NUCLEO_F401RE
* Add target NUCLEO_F103RB
* Add target NUCLEO_L152RE

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 77:869cf507173a 1 /**
emilmont 77:869cf507173a 2 ******************************************************************************
emilmont 77:869cf507173a 3 * @file Project/STM32F0xx_StdPeriph_Templates/stm32f0xx_conf.h
emilmont 77:869cf507173a 4 * @author MCD Application Team
emilmont 77:869cf507173a 5 * @version V1.3.1
emilmont 77:869cf507173a 6 * @date 17-January-2014
emilmont 77:869cf507173a 7 * @brief Library configuration file.
emilmont 77:869cf507173a 8 ******************************************************************************
emilmont 77:869cf507173a 9 * @attention
emilmont 77:869cf507173a 10 *
emilmont 77:869cf507173a 11 * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
emilmont 77:869cf507173a 12 *
emilmont 77:869cf507173a 13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
emilmont 77:869cf507173a 14 * You may not use this file except in compliance with the License.
emilmont 77:869cf507173a 15 * You may obtain a copy of the License at:
emilmont 77:869cf507173a 16 *
emilmont 77:869cf507173a 17 * http://www.st.com/software_license_agreement_liberty_v2
emilmont 77:869cf507173a 18 *
emilmont 77:869cf507173a 19 * Unless required by applicable law or agreed to in writing, software
emilmont 77:869cf507173a 20 * distributed under the License is distributed on an "AS IS" BASIS,
emilmont 77:869cf507173a 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
emilmont 77:869cf507173a 22 * See the License for the specific language governing permissions and
emilmont 77:869cf507173a 23 * limitations under the License.
emilmont 77:869cf507173a 24 *
emilmont 77:869cf507173a 25 ******************************************************************************
emilmont 77:869cf507173a 26 */
emilmont 77:869cf507173a 27
emilmont 77:869cf507173a 28 /* Define to prevent recursive inclusion -------------------------------------*/
emilmont 77:869cf507173a 29 #ifndef __STM32F0XX_CONF_H
emilmont 77:869cf507173a 30 #define __STM32F0XX_CONF_H
emilmont 77:869cf507173a 31
emilmont 77:869cf507173a 32 /* Includes ------------------------------------------------------------------*/
emilmont 77:869cf507173a 33 /* Comment the line below to disable peripheral header file inclusion */
emilmont 77:869cf507173a 34 #include "stm32f0xx_adc.h"
emilmont 77:869cf507173a 35 #include "stm32f0xx_can.h"
emilmont 77:869cf507173a 36 #include "stm32f0xx_cec.h"
emilmont 77:869cf507173a 37 #include "stm32f0xx_crc.h"
emilmont 77:869cf507173a 38 #include "stm32f0xx_crs.h"
emilmont 77:869cf507173a 39 #include "stm32f0xx_comp.h"
emilmont 77:869cf507173a 40 #include "stm32f0xx_dac.h"
emilmont 77:869cf507173a 41 #include "stm32f0xx_dbgmcu.h"
emilmont 77:869cf507173a 42 #include "stm32f0xx_dma.h"
emilmont 77:869cf507173a 43 #include "stm32f0xx_exti.h"
emilmont 77:869cf507173a 44 #include "stm32f0xx_flash.h"
emilmont 77:869cf507173a 45 #include "stm32f0xx_gpio.h"
emilmont 77:869cf507173a 46 #include "stm32f0xx_syscfg.h"
emilmont 77:869cf507173a 47 #include "stm32f0xx_i2c.h"
emilmont 77:869cf507173a 48 #include "stm32f0xx_iwdg.h"
emilmont 77:869cf507173a 49 #include "stm32f0xx_pwr.h"
emilmont 77:869cf507173a 50 #include "stm32f0xx_rcc.h"
emilmont 77:869cf507173a 51 #include "stm32f0xx_rtc.h"
emilmont 77:869cf507173a 52 #include "stm32f0xx_spi.h"
emilmont 77:869cf507173a 53 #include "stm32f0xx_tim.h"
emilmont 77:869cf507173a 54 #include "stm32f0xx_usart.h"
emilmont 77:869cf507173a 55 #include "stm32f0xx_wwdg.h"
emilmont 77:869cf507173a 56 #include "stm32f0xx_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
emilmont 77:869cf507173a 57
emilmont 77:869cf507173a 58 /* Exported types ------------------------------------------------------------*/
emilmont 77:869cf507173a 59 /* Exported constants --------------------------------------------------------*/
emilmont 77:869cf507173a 60 /* Uncomment the line below to expanse the "assert_param" macro in the
emilmont 77:869cf507173a 61 Standard Peripheral Library drivers code */
emilmont 77:869cf507173a 62 /* #define USE_FULL_ASSERT 1 */
emilmont 77:869cf507173a 63
emilmont 77:869cf507173a 64 /* Exported macro ------------------------------------------------------------*/
emilmont 77:869cf507173a 65 #ifdef USE_FULL_ASSERT
emilmont 77:869cf507173a 66
emilmont 77:869cf507173a 67 /**
emilmont 77:869cf507173a 68 * @brief The assert_param macro is used for function's parameters check.
emilmont 77:869cf507173a 69 * @param expr: If expr is false, it calls assert_failed function which reports
emilmont 77:869cf507173a 70 * the name of the source file and the source line number of the call
emilmont 77:869cf507173a 71 * that failed. If expr is true, it returns no value.
emilmont 77:869cf507173a 72 * @retval None
emilmont 77:869cf507173a 73 */
emilmont 77:869cf507173a 74 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
emilmont 77:869cf507173a 75 /* Exported functions ------------------------------------------------------- */
emilmont 77:869cf507173a 76 void assert_failed(uint8_t* file, uint32_t line);
emilmont 77:869cf507173a 77 #else
emilmont 77:869cf507173a 78 #define assert_param(expr) ((void)0)
emilmont 77:869cf507173a 79 #endif /* USE_FULL_ASSERT */
emilmont 77:869cf507173a 80
emilmont 77:869cf507173a 81 #endif /* __STM32F0XX_CONF_H */
emilmont 77:869cf507173a 82
emilmont 77:869cf507173a 83 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/