Skip to content

Commit 944a17f

Browse files
Merge pull request #4402 from LMESTM/STM32_F2_CUBE_v160
Stm32 f2 cube sdk update to v1.6.0
2 parents 99bc80d + eeb9672 commit 944a17f

File tree

148 files changed

+65684
-12581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+65684
-12581
lines changed

targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_conf.h

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -297,16 +297,8 @@
297297

298298
/* Exported macro ------------------------------------------------------------*/
299299
#ifdef USE_FULL_ASSERT
300-
/**
301-
* @brief The assert_param macro is used for function's parameters check.
302-
* @param expr: If expr is false, it calls assert_failed function
303-
* which reports the name of the source file and the source
304-
* line number of the call that failed.
305-
* If expr is true, it returns no value.
306-
* @retval None
307-
*/
308-
#include "mbed_assert.h"
309-
#define assert_param(expr) MBED_ASSERT(expr)
300+
/* ALL MBED targets use same stm32_assert.h */
301+
#include "stm32_assert.h"
310302
#else
311303
#define assert_param(expr) ((void)0U)
312304
#endif /* USE_FULL_ASSERT */

targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,8 @@
357357

358358
/* Exported macro ------------------------------------------------------------*/
359359
#ifdef USE_FULL_ASSERT
360-
/**
361-
* @brief The assert_param macro is used for function's parameters check.
362-
* @param expr: If expr is false, it calls assert_failed function
363-
* which reports the name of the source file and the source
364-
* line number of the call that failed.
365-
* If expr is true, it returns no value.
366-
* @retval None
367-
*/
368-
#include "mbed_assert.h"
369-
#define assert_param(expr) MBED_ASSERT(expr)
360+
/* ALL MBED targets use same stm32_assert.h */
361+
#include "stm32_assert.h"
370362
#else
371363
#define assert_param(expr) ((void)0U)
372364
#endif /* USE_FULL_ASSERT */

targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/device/stm32f207xx.h

Lines changed: 12491 additions & 5767 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/device/stm32f2xx.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f2xx.h
44
* @author MCD Application Team
5-
* @version V2.1.2
6-
* @date 29-June-2016
5+
* @version V2.2.0
6+
* @date 17-March-2017
77
* @brief CMSIS STM32F2xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
@@ -18,7 +18,7 @@
1818
******************************************************************************
1919
* @attention
2020
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
21+
* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
2222
*
2323
* Redistribution and use in source and binary forms, with or without modification,
2424
* are permitted provided that the following conditions are met:
@@ -99,11 +99,11 @@ extern "C" {
9999
#endif /* USE_HAL_DRIVER */
100100

101101
/**
102-
* @brief CMSIS Device version number V2.1.2
102+
* @brief CMSIS Device version number V2.2.0
103103
*/
104104
#define __STM32F2xx_CMSIS_VERSION_MAIN (0x02U) /*!< [31:24] main version */
105-
#define __STM32F2xx_CMSIS_VERSION_SUB1 (0x01U) /*!< [23:16] sub1 version */
106-
#define __STM32F2xx_CMSIS_VERSION_SUB2 (0x02U) /*!< [15:8] sub2 version */
105+
#define __STM32F2xx_CMSIS_VERSION_SUB1 (0x02U) /*!< [23:16] sub1 version */
106+
#define __STM32F2xx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
107107
#define __STM32F2xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
108108
#define __STM32F2xx_CMSIS_VERSION ((__STM32F2xx_CMSIS_VERSION_MAIN << 24)\
109109
|(__STM32F2xx_CMSIS_VERSION_SUB1 << 16)\

0 commit comments

Comments
 (0)