Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_def.h
- Revision:
- 180:96ed750bd169
- Parent:
- 164:289d4deac6e4
diff -r b0033dcd6934 -r 96ed750bd169 targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_def.h
--- a/targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_def.h Thu Dec 07 14:01:42 2017 +0000
+++ b/targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_def.h Wed Jan 17 15:23:54 2018 +0000
@@ -2,8 +2,6 @@
******************************************************************************
* @file stm32f0xx_hal_def.h
* @author MCD Application Team
- * @version V1.5.0
- * @date 04-November-2016
* @brief This file contains HAL common defines, enumeration, macros and
* structures definitions.
******************************************************************************
@@ -46,7 +44,9 @@
/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx.h"
+#if defined(USE_HAL_LEGACY)
#include "stm32_hal_legacy.h"
+#endif
#include <stdio.h>
/* Exported types ------------------------------------------------------------*/
@@ -87,7 +87,7 @@
#define UNUSED(x) ((void)(x))
/** @brief Reset the Handle's State field.
- * @param __HANDLE__: specifies the Peripheral Handle.
+ * @param __HANDLE__ specifies the Peripheral Handle.
* @note This macro can be used for the following purpose:
* - When the Handle is declared as local variable; before passing it as parameter
* to HAL_PPP_Init() for the first time, it is mandatory to use this macro
@@ -124,7 +124,7 @@
}while (0)
#endif /* USE_RTOS */
-#if defined ( __GNUC__ ) && !defined ( __CC_ARM )
+#if defined ( __GNUC__ )
#ifndef __weak
#define __weak __attribute__((weak))
#endif /* __weak */
