version_2.0
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
TARGET_NUCLEO_L152RE/stm32l1xx_conf.h@77:869cf507173a, 2014-02-14 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 77:869cf507173a | 1 | /** |
emilmont | 77:869cf507173a | 2 | ****************************************************************************** |
emilmont | 77:869cf507173a | 3 | * @file Project/STM32L1xx_StdPeriph_Templates/stm32l1xx_conf.h |
emilmont | 77:869cf507173a | 4 | * @author MCD Application Team |
emilmont | 77:869cf507173a | 5 | * @version V1.1.1 |
emilmont | 77:869cf507173a | 6 | * @date 13-April-2012 |
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>© COPYRIGHT 2012 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 __STM32L1xx_CONF_H |
emilmont | 77:869cf507173a | 30 | #define __STM32L1xx_CONF_H |
emilmont | 77:869cf507173a | 31 | |
emilmont | 77:869cf507173a | 32 | /* Includes ------------------------------------------------------------------*/ |
emilmont | 77:869cf507173a | 33 | /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */ |
emilmont | 77:869cf507173a | 34 | #include "stm32l1xx_adc.h" |
emilmont | 77:869cf507173a | 35 | //#include "stm32l1xx_aes.h" |
emilmont | 77:869cf507173a | 36 | //#include "stm32l1xx_comp.h" |
emilmont | 77:869cf507173a | 37 | //#include "stm32l1xx_crc.h" |
emilmont | 77:869cf507173a | 38 | #include "stm32l1xx_dac.h" |
emilmont | 77:869cf507173a | 39 | #include "stm32l1xx_dbgmcu.h" |
emilmont | 77:869cf507173a | 40 | //#include "stm32l1xx_dma.h" |
emilmont | 77:869cf507173a | 41 | #include "stm32l1xx_exti.h" |
emilmont | 77:869cf507173a | 42 | //#include "stm32l1xx_flash.h" |
emilmont | 77:869cf507173a | 43 | //#include "stm32l1xx_fsmc.h" |
emilmont | 77:869cf507173a | 44 | #include "stm32l1xx_gpio.h" |
emilmont | 77:869cf507173a | 45 | #include "stm32l1xx_i2c.h" |
emilmont | 77:869cf507173a | 46 | //#include "stm32l1xx_iwdg.h" |
emilmont | 77:869cf507173a | 47 | //#include "stm32l1xx_lcd.h" |
emilmont | 77:869cf507173a | 48 | //#include "stm32l1xx_opamp.h" |
emilmont | 77:869cf507173a | 49 | #include "stm32l1xx_pwr.h" |
emilmont | 77:869cf507173a | 50 | #include "stm32l1xx_rcc.h" |
emilmont | 77:869cf507173a | 51 | #include "stm32l1xx_rtc.h" |
emilmont | 77:869cf507173a | 52 | #include "stm32l1xx_sdio.h" |
emilmont | 77:869cf507173a | 53 | #include "stm32l1xx_spi.h" |
emilmont | 77:869cf507173a | 54 | #include "stm32l1xx_syscfg.h" |
emilmont | 77:869cf507173a | 55 | #include "stm32l1xx_tim.h" |
emilmont | 77:869cf507173a | 56 | #include "stm32l1xx_usart.h" |
emilmont | 77:869cf507173a | 57 | //#include "stm32l1xx_wwdg.h" |
emilmont | 77:869cf507173a | 58 | #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ |
emilmont | 77:869cf507173a | 59 | |
emilmont | 77:869cf507173a | 60 | /* Exported types ------------------------------------------------------------*/ |
emilmont | 77:869cf507173a | 61 | /* Exported constants --------------------------------------------------------*/ |
emilmont | 77:869cf507173a | 62 | /* Uncomment the line below to expanse the "assert_param" macro in the |
emilmont | 77:869cf507173a | 63 | Standard Peripheral Library drivers code */ |
emilmont | 77:869cf507173a | 64 | /* #define USE_FULL_ASSERT 1 */ |
emilmont | 77:869cf507173a | 65 | |
emilmont | 77:869cf507173a | 66 | /* Exported macro ------------------------------------------------------------*/ |
emilmont | 77:869cf507173a | 67 | #ifdef USE_FULL_ASSERT |
emilmont | 77:869cf507173a | 68 | |
emilmont | 77:869cf507173a | 69 | /** |
emilmont | 77:869cf507173a | 70 | * @brief The assert_param macro is used for function's parameters check. |
emilmont | 77:869cf507173a | 71 | * @param expr: If expr is false, it calls assert_failed function which reports |
emilmont | 77:869cf507173a | 72 | * the name of the source file and the source line number of the call |
emilmont | 77:869cf507173a | 73 | * that failed. If expr is true, it returns no value. |
emilmont | 77:869cf507173a | 74 | * @retval None |
emilmont | 77:869cf507173a | 75 | */ |
emilmont | 77:869cf507173a | 76 | #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) |
emilmont | 77:869cf507173a | 77 | /* Exported functions ------------------------------------------------------- */ |
emilmont | 77:869cf507173a | 78 | void assert_failed(uint8_t* file, uint32_t line); |
emilmont | 77:869cf507173a | 79 | #else |
emilmont | 77:869cf507173a | 80 | #define assert_param(expr) ((void)0) |
emilmont | 77:869cf507173a | 81 | #endif /* USE_FULL_ASSERT */ |
emilmont | 77:869cf507173a | 82 | |
emilmont | 77:869cf507173a | 83 | #endif /* __STM32L1xx_CONF_H */ |
emilmont | 77:869cf507173a | 84 | |
emilmont | 77:869cf507173a | 85 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |