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:
Kojto
Date:
Tue Feb 14 11:24:20 2017 +0000
Revision:
136:ef9c61f8c49f
Parent:
132:9baf128c2fab
Child:
145:64910690c574
Release 136 of the mbed library

Ports for Upcoming Targets


Fixes and Changes

3432: Target STM USBHOST support https://github.com/ARMmbed/mbed-os/pull/3432
3181: NUCLEO_F207ZG extending PeripheralPins.c: all available alternate functions can be used now https://github.com/ARMmbed/mbed-os/pull/3181
3626: NUCLEO_F412ZG : Add USB Device +Host https://github.com/ARMmbed/mbed-os/pull/3626
3628: Fix warnings https://github.com/ARMmbed/mbed-os/pull/3628
3629: STM32: L0 LL layer https://github.com/ARMmbed/mbed-os/pull/3629
3632: IDE Export support for platform VK_RZ_A1H https://github.com/ARMmbed/mbed-os/pull/3632
3642: Missing IRQ pin fix for platform VK_RZ_A1H https://github.com/ARMmbed/mbed-os/pull/3642
3664: Fix ncs36510 sleep definitions https://github.com/ARMmbed/mbed-os/pull/3664
3655: [STM32F4] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3655
3657: [STM32L4] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3657
3658: [STM32F3] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3658
3685: STM32: I2C: reset state machine https://github.com/ARMmbed/mbed-os/pull/3685
3692: uVisor: Standardize available legacy heap and stack https://github.com/ARMmbed/mbed-os/pull/3692
3621: Fix for #2884, LPC824: export to LPCXpresso, target running with wron https://github.com/ARMmbed/mbed-os/pull/3621
3649: [STM32F7] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3649
3695: Enforce device_name is valid in targets.json https://github.com/ARMmbed/mbed-os/pull/3695
3723: NCS36510: spi_format function bug fix https://github.com/ARMmbed/mbed-os/pull/3723

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 132:9baf128c2fab 1 /**
<> 132:9baf128c2fab 2 ******************************************************************************
<> 132:9baf128c2fab 3 * @file stm32l1xx_hal_conf.h
<> 132:9baf128c2fab 4 * @author MCD Application Team
<> 132:9baf128c2fab 5 * @version V1.2.0
<> 132:9baf128c2fab 6 * @date 01-July-2016
<> 132:9baf128c2fab 7 * @brief HAL configuration file.
<> 132:9baf128c2fab 8 ******************************************************************************
<> 132:9baf128c2fab 9 * @attention
<> 132:9baf128c2fab 10 *
<> 132:9baf128c2fab 11 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
<> 132:9baf128c2fab 12 *
<> 132:9baf128c2fab 13 * Redistribution and use in source and binary forms, with or without modification,
<> 132:9baf128c2fab 14 * are permitted provided that the following conditions are met:
<> 132:9baf128c2fab 15 * 1. Redistributions of source code must retain the above copyright notice,
<> 132:9baf128c2fab 16 * this list of conditions and the following disclaimer.
<> 132:9baf128c2fab 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
<> 132:9baf128c2fab 18 * this list of conditions and the following disclaimer in the documentation
<> 132:9baf128c2fab 19 * and/or other materials provided with the distribution.
<> 132:9baf128c2fab 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
<> 132:9baf128c2fab 21 * may be used to endorse or promote products derived from this software
<> 132:9baf128c2fab 22 * without specific prior written permission.
<> 132:9baf128c2fab 23 *
<> 132:9baf128c2fab 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 132:9baf128c2fab 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 132:9baf128c2fab 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 132:9baf128c2fab 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 132:9baf128c2fab 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 132:9baf128c2fab 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 132:9baf128c2fab 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 132:9baf128c2fab 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 132:9baf128c2fab 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 132:9baf128c2fab 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 132:9baf128c2fab 34 *
<> 132:9baf128c2fab 35 ******************************************************************************
<> 132:9baf128c2fab 36 */
<> 132:9baf128c2fab 37
<> 132:9baf128c2fab 38 /* Define to prevent recursive inclusion -------------------------------------*/
<> 132:9baf128c2fab 39 #ifndef __STM32L1xx_HAL_CONF_H
<> 132:9baf128c2fab 40 #define __STM32L1xx_HAL_CONF_H
<> 132:9baf128c2fab 41
<> 132:9baf128c2fab 42 #ifdef __cplusplus
<> 132:9baf128c2fab 43 extern "C" {
<> 132:9baf128c2fab 44 #endif
<> 132:9baf128c2fab 45
<> 132:9baf128c2fab 46 /* Exported types ------------------------------------------------------------*/
<> 132:9baf128c2fab 47 /* Exported constants --------------------------------------------------------*/
<> 132:9baf128c2fab 48
<> 132:9baf128c2fab 49 /* ########################## Module Selection ############################## */
<> 132:9baf128c2fab 50 /**
<> 132:9baf128c2fab 51 * @brief This is the list of modules to be used in the HAL driver
<> 132:9baf128c2fab 52 */
<> 132:9baf128c2fab 53 #define HAL_MODULE_ENABLED
<> 132:9baf128c2fab 54 #define HAL_ADC_MODULE_ENABLED
<> 132:9baf128c2fab 55 #define HAL_COMP_MODULE_ENABLED
<> 132:9baf128c2fab 56 #define HAL_CORTEX_MODULE_ENABLED
<> 132:9baf128c2fab 57 #define HAL_CRC_MODULE_ENABLED
<> 132:9baf128c2fab 58 #define HAL_CRYP_MODULE_ENABLED
<> 132:9baf128c2fab 59 #define HAL_DAC_MODULE_ENABLED
<> 132:9baf128c2fab 60 #define HAL_DMA_MODULE_ENABLED
<> 132:9baf128c2fab 61 #define HAL_FLASH_MODULE_ENABLED
<> 132:9baf128c2fab 62 #define HAL_GPIO_MODULE_ENABLED
<> 132:9baf128c2fab 63 #define HAL_I2C_MODULE_ENABLED
<> 132:9baf128c2fab 64 #define HAL_I2S_MODULE_ENABLED
<> 132:9baf128c2fab 65 #define HAL_IRDA_MODULE_ENABLED
<> 132:9baf128c2fab 66 #define HAL_IWDG_MODULE_ENABLED
<> 132:9baf128c2fab 67 #define HAL_LCD_MODULE_ENABLED
<> 132:9baf128c2fab 68 #define HAL_NOR_MODULE_ENABLED
<> 132:9baf128c2fab 69 #define HAL_OPAMP_MODULE_ENABLED
<> 132:9baf128c2fab 70 #define HAL_PCD_MODULE_ENABLED
<> 132:9baf128c2fab 71 #define HAL_PWR_MODULE_ENABLED
<> 132:9baf128c2fab 72 #define HAL_RCC_MODULE_ENABLED
<> 132:9baf128c2fab 73 #define HAL_RTC_MODULE_ENABLED
<> 132:9baf128c2fab 74 #define HAL_SD_MODULE_ENABLED
<> 132:9baf128c2fab 75 #define HAL_SMARTCARD_MODULE_ENABLED
<> 132:9baf128c2fab 76 #define HAL_SPI_MODULE_ENABLED
<> 132:9baf128c2fab 77 #define HAL_SRAM_MODULE_ENABLED
<> 132:9baf128c2fab 78 #define HAL_TIM_MODULE_ENABLED
<> 132:9baf128c2fab 79 #define HAL_UART_MODULE_ENABLED
<> 132:9baf128c2fab 80 #define HAL_USART_MODULE_ENABLED
<> 132:9baf128c2fab 81 #define HAL_WWDG_MODULE_ENABLED
<> 132:9baf128c2fab 82
<> 132:9baf128c2fab 83 /* ########################## Oscillator Values adaptation ####################*/
<> 132:9baf128c2fab 84 /**
<> 132:9baf128c2fab 85 * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
<> 132:9baf128c2fab 86 * This value is used by the RCC HAL module to compute the system frequency
<> 132:9baf128c2fab 87 * (when HSE is used as system clock source, directly or through the PLL).
<> 132:9baf128c2fab 88 */
<> 132:9baf128c2fab 89 #if !defined (HSE_VALUE)
<> 132:9baf128c2fab 90 #define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
<> 132:9baf128c2fab 91 #endif /* HSE_VALUE */
<> 132:9baf128c2fab 92
<> 132:9baf128c2fab 93 #if !defined (HSE_STARTUP_TIMEOUT)
<> 132:9baf128c2fab 94 #define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
<> 132:9baf128c2fab 95 #endif /* HSE_STARTUP_TIMEOUT */
<> 132:9baf128c2fab 96
<> 132:9baf128c2fab 97 /**
<> 132:9baf128c2fab 98 * @brief Internal Multiple Speed oscillator (MSI) default value.
<> 132:9baf128c2fab 99 * This value is the default MSI range value after Reset.
<> 132:9baf128c2fab 100 */
<> 132:9baf128c2fab 101 #if !defined (MSI_VALUE)
<> 132:9baf128c2fab 102 #define MSI_VALUE ((uint32_t)2097000) /*!< Value of the Internal oscillator in Hz*/
<> 132:9baf128c2fab 103 #endif /* MSI_VALUE */
<> 132:9baf128c2fab 104 /**
<> 132:9baf128c2fab 105 * @brief Internal High Speed oscillator (HSI) value.
<> 132:9baf128c2fab 106 * This value is used by the RCC HAL module to compute the system frequency
<> 132:9baf128c2fab 107 * (when HSI is used as system clock source, directly or through the PLL).
<> 132:9baf128c2fab 108 */
<> 132:9baf128c2fab 109 #if !defined (HSI_VALUE)
<> 132:9baf128c2fab 110 #define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
<> 132:9baf128c2fab 111 #endif /* HSI_VALUE */
<> 132:9baf128c2fab 112
<> 132:9baf128c2fab 113 /**
<> 132:9baf128c2fab 114 * @brief External Low Speed oscillator (LSE) value.
<> 132:9baf128c2fab 115 * This value is used by the UART, RTC HAL module to compute the system frequency
<> 132:9baf128c2fab 116 */
<> 132:9baf128c2fab 117 #if !defined (LSE_VALUE)
<> 132:9baf128c2fab 118 #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External oscillator in Hz*/
<> 132:9baf128c2fab 119 #endif /* LSE_VALUE */
<> 132:9baf128c2fab 120
<> 132:9baf128c2fab 121
<> 132:9baf128c2fab 122 #if !defined (LSE_STARTUP_TIMEOUT)
<> 132:9baf128c2fab 123 #define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
<> 132:9baf128c2fab 124 #endif /* HSE_STARTUP_TIMEOUT */
<> 132:9baf128c2fab 125
<> 132:9baf128c2fab 126
<> 132:9baf128c2fab 127 /* Tip: To avoid modifying this file each time you need to use different HSE,
<> 132:9baf128c2fab 128 === you can define the HSE value in your toolchain compiler preprocessor. */
<> 132:9baf128c2fab 129
<> 132:9baf128c2fab 130 /* ########################### System Configuration ######################### */
<> 132:9baf128c2fab 131 /**
<> 132:9baf128c2fab 132 * @brief This is the HAL system configuration section
<> 132:9baf128c2fab 133 */
<> 132:9baf128c2fab 134 #define VDD_VALUE ((uint32_t)3300) /*!< Value of VDD in mv */
<> 132:9baf128c2fab 135 #define TICK_INT_PRIORITY ((uint32_t)0x000F) /*!< tick interrupt priority */
<> 132:9baf128c2fab 136 #define USE_RTOS 0
<> 132:9baf128c2fab 137 #define PREFETCH_ENABLE 1
<> 132:9baf128c2fab 138 #define INSTRUCTION_CACHE_ENABLE 0
<> 132:9baf128c2fab 139 #define DATA_CACHE_ENABLE 0
<> 132:9baf128c2fab 140
<> 132:9baf128c2fab 141 /* ########################## Assert Selection ############################## */
<> 132:9baf128c2fab 142 /**
<> 132:9baf128c2fab 143 * @brief Uncomment the line below to expanse the "assert_param" macro in the
<> 132:9baf128c2fab 144 * HAL drivers code
<> 132:9baf128c2fab 145 */
<> 132:9baf128c2fab 146 /*#define USE_FULL_ASSERT 1*/
<> 132:9baf128c2fab 147
<> 132:9baf128c2fab 148 /* Includes ------------------------------------------------------------------*/
<> 132:9baf128c2fab 149 /**
<> 132:9baf128c2fab 150 * @brief Include module's header file
<> 132:9baf128c2fab 151 */
<> 132:9baf128c2fab 152
<> 132:9baf128c2fab 153 #ifdef HAL_RCC_MODULE_ENABLED
<> 132:9baf128c2fab 154 #include "stm32l1xx_hal_rcc.h"
<> 132:9baf128c2fab 155 #endif /* HAL_RCC_MODULE_ENABLED */
<> 132:9baf128c2fab 156
<> 132:9baf128c2fab 157 #ifdef HAL_GPIO_MODULE_ENABLED
<> 132:9baf128c2fab 158 #include "stm32l1xx_hal_gpio.h"
<> 132:9baf128c2fab 159 #endif /* HAL_GPIO_MODULE_ENABLED */
<> 132:9baf128c2fab 160
<> 132:9baf128c2fab 161 #ifdef HAL_DMA_MODULE_ENABLED
<> 132:9baf128c2fab 162 #include "stm32l1xx_hal_dma.h"
<> 132:9baf128c2fab 163 #endif /* HAL_DMA_MODULE_ENABLED */
<> 132:9baf128c2fab 164
<> 132:9baf128c2fab 165 #ifdef HAL_CORTEX_MODULE_ENABLED
<> 132:9baf128c2fab 166 #include "stm32l1xx_hal_cortex.h"
<> 132:9baf128c2fab 167 #endif /* HAL_CORTEX_MODULE_ENABLED */
<> 132:9baf128c2fab 168
<> 132:9baf128c2fab 169 #ifdef HAL_ADC_MODULE_ENABLED
<> 132:9baf128c2fab 170 #include "stm32l1xx_hal_adc.h"
<> 132:9baf128c2fab 171 #endif /* HAL_ADC_MODULE_ENABLED */
<> 132:9baf128c2fab 172
<> 132:9baf128c2fab 173 #ifdef HAL_COMP_MODULE_ENABLED
<> 132:9baf128c2fab 174 #include "stm32l1xx_hal_comp.h"
<> 132:9baf128c2fab 175 #endif /* HAL_COMP_MODULE_ENABLED */
<> 132:9baf128c2fab 176
<> 132:9baf128c2fab 177 #ifdef HAL_CRC_MODULE_ENABLED
<> 132:9baf128c2fab 178 #include "stm32l1xx_hal_crc.h"
<> 132:9baf128c2fab 179 #endif /* HAL_CRC_MODULE_ENABLED */
<> 132:9baf128c2fab 180
<> 132:9baf128c2fab 181 #ifdef HAL_CRYP_MODULE_ENABLED
<> 132:9baf128c2fab 182 #include "stm32l1xx_hal_cryp.h"
<> 132:9baf128c2fab 183 #endif /* HAL_CRYP_MODULE_ENABLED */
<> 132:9baf128c2fab 184
<> 132:9baf128c2fab 185 #ifdef HAL_DAC_MODULE_ENABLED
<> 132:9baf128c2fab 186 #include "stm32l1xx_hal_dac.h"
<> 132:9baf128c2fab 187 #endif /* HAL_DAC_MODULE_ENABLED */
<> 132:9baf128c2fab 188
<> 132:9baf128c2fab 189 #ifdef HAL_FLASH_MODULE_ENABLED
<> 132:9baf128c2fab 190 #include "stm32l1xx_hal_flash.h"
<> 132:9baf128c2fab 191 #endif /* HAL_FLASH_MODULE_ENABLED */
<> 132:9baf128c2fab 192
<> 132:9baf128c2fab 193 #ifdef HAL_SRAM_MODULE_ENABLED
<> 132:9baf128c2fab 194 #include "stm32l1xx_hal_sram.h"
<> 132:9baf128c2fab 195 #endif /* HAL_SRAM_MODULE_ENABLED */
<> 132:9baf128c2fab 196
<> 132:9baf128c2fab 197 #ifdef HAL_NOR_MODULE_ENABLED
<> 132:9baf128c2fab 198 #include "stm32l1xx_hal_nor.h"
<> 132:9baf128c2fab 199 #endif /* HAL_NOR_MODULE_ENABLED */
<> 132:9baf128c2fab 200
<> 132:9baf128c2fab 201 #ifdef HAL_I2C_MODULE_ENABLED
<> 132:9baf128c2fab 202 #include "stm32l1xx_hal_i2c.h"
<> 132:9baf128c2fab 203 #endif /* HAL_I2C_MODULE_ENABLED */
<> 132:9baf128c2fab 204
<> 132:9baf128c2fab 205 #ifdef HAL_I2S_MODULE_ENABLED
<> 132:9baf128c2fab 206 #include "stm32l1xx_hal_i2s.h"
<> 132:9baf128c2fab 207 #endif /* HAL_I2S_MODULE_ENABLED */
<> 132:9baf128c2fab 208
<> 132:9baf128c2fab 209 #ifdef HAL_IWDG_MODULE_ENABLED
<> 132:9baf128c2fab 210 #include "stm32l1xx_hal_iwdg.h"
<> 132:9baf128c2fab 211 #endif /* HAL_IWDG_MODULE_ENABLED */
<> 132:9baf128c2fab 212
<> 132:9baf128c2fab 213 #ifdef HAL_LCD_MODULE_ENABLED
<> 132:9baf128c2fab 214 #include "stm32l1xx_hal_lcd.h"
<> 132:9baf128c2fab 215 #endif /* HAL_LCD_MODULE_ENABLED */
<> 132:9baf128c2fab 216
<> 132:9baf128c2fab 217 #ifdef HAL_OPAMP_MODULE_ENABLED
<> 132:9baf128c2fab 218 #include "stm32l1xx_hal_opamp.h"
<> 132:9baf128c2fab 219 #endif /* HAL_OPAMP_MODULE_ENABLED */
<> 132:9baf128c2fab 220
<> 132:9baf128c2fab 221 #ifdef HAL_PWR_MODULE_ENABLED
<> 132:9baf128c2fab 222 #include "stm32l1xx_hal_pwr.h"
<> 132:9baf128c2fab 223 #endif /* HAL_PWR_MODULE_ENABLED */
<> 132:9baf128c2fab 224
<> 132:9baf128c2fab 225 #ifdef HAL_RTC_MODULE_ENABLED
<> 132:9baf128c2fab 226 #include "stm32l1xx_hal_rtc.h"
<> 132:9baf128c2fab 227 #endif /* HAL_RTC_MODULE_ENABLED */
<> 132:9baf128c2fab 228
<> 132:9baf128c2fab 229 #ifdef HAL_SD_MODULE_ENABLED
<> 132:9baf128c2fab 230 #include "stm32l1xx_hal_sd.h"
<> 132:9baf128c2fab 231 #endif /* HAL_SD_MODULE_ENABLED */
<> 132:9baf128c2fab 232
<> 132:9baf128c2fab 233 #ifdef HAL_SPI_MODULE_ENABLED
<> 132:9baf128c2fab 234 #include "stm32l1xx_hal_spi.h"
<> 132:9baf128c2fab 235 #endif /* HAL_SPI_MODULE_ENABLED */
<> 132:9baf128c2fab 236
<> 132:9baf128c2fab 237 #ifdef HAL_TIM_MODULE_ENABLED
<> 132:9baf128c2fab 238 #include "stm32l1xx_hal_tim.h"
<> 132:9baf128c2fab 239 #endif /* HAL_TIM_MODULE_ENABLED */
<> 132:9baf128c2fab 240
<> 132:9baf128c2fab 241 #ifdef HAL_UART_MODULE_ENABLED
<> 132:9baf128c2fab 242 #include "stm32l1xx_hal_uart.h"
<> 132:9baf128c2fab 243 #endif /* HAL_UART_MODULE_ENABLED */
<> 132:9baf128c2fab 244
<> 132:9baf128c2fab 245 #ifdef HAL_USART_MODULE_ENABLED
<> 132:9baf128c2fab 246 #include "stm32l1xx_hal_usart.h"
<> 132:9baf128c2fab 247 #endif /* HAL_USART_MODULE_ENABLED */
<> 132:9baf128c2fab 248
<> 132:9baf128c2fab 249 #ifdef HAL_IRDA_MODULE_ENABLED
<> 132:9baf128c2fab 250 #include "stm32l1xx_hal_irda.h"
<> 132:9baf128c2fab 251 #endif /* HAL_IRDA_MODULE_ENABLED */
<> 132:9baf128c2fab 252
<> 132:9baf128c2fab 253 #ifdef HAL_SMARTCARD_MODULE_ENABLED
<> 132:9baf128c2fab 254 #include "stm32l1xx_hal_smartcard.h"
<> 132:9baf128c2fab 255 #endif /* HAL_SMARTCARD_MODULE_ENABLED */
<> 132:9baf128c2fab 256
<> 132:9baf128c2fab 257 #ifdef HAL_WWDG_MODULE_ENABLED
<> 132:9baf128c2fab 258 #include "stm32l1xx_hal_wwdg.h"
<> 132:9baf128c2fab 259 #endif /* HAL_WWDG_MODULE_ENABLED */
<> 132:9baf128c2fab 260
<> 132:9baf128c2fab 261 #ifdef HAL_PCD_MODULE_ENABLED
<> 132:9baf128c2fab 262 #include "stm32l1xx_hal_pcd.h"
<> 132:9baf128c2fab 263 #endif /* HAL_PCD_MODULE_ENABLED */
<> 132:9baf128c2fab 264
<> 132:9baf128c2fab 265 /* Exported macro ------------------------------------------------------------*/
<> 132:9baf128c2fab 266 #ifdef USE_FULL_ASSERT
<> 132:9baf128c2fab 267 /**
<> 132:9baf128c2fab 268 * @brief The assert_param macro is used for function's parameters check.
<> 132:9baf128c2fab 269 * @param expr: If expr is false, it calls assert_failed function
<> 132:9baf128c2fab 270 * which reports the name of the source file and the source
<> 132:9baf128c2fab 271 * line number of the call that failed.
<> 132:9baf128c2fab 272 * If expr is true, it returns no value.
<> 132:9baf128c2fab 273 * @retval None
<> 132:9baf128c2fab 274 */
<> 132:9baf128c2fab 275 #include "mbed_assert.h"
<> 132:9baf128c2fab 276 #define assert_param(expr) MBED_ASSERT(expr)
<> 132:9baf128c2fab 277 #else
<> 132:9baf128c2fab 278 #define assert_param(expr) ((void)0U)
<> 132:9baf128c2fab 279 #endif /* USE_FULL_ASSERT */
<> 132:9baf128c2fab 280
<> 132:9baf128c2fab 281 #ifdef __cplusplus
<> 132:9baf128c2fab 282 }
<> 132:9baf128c2fab 283 #endif
<> 132:9baf128c2fab 284
<> 132:9baf128c2fab 285 #endif /* __STM32L1xx_HAL_CONF_H */
<> 132:9baf128c2fab 286
<> 132:9baf128c2fab 287
<> 132:9baf128c2fab 288 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/