Skip to content

Commit 635a824

Browse files
authored
Merge pull request #5834 from bcostm/PULL_REQUEST_CUBE_UPDATE_L4_V1.11.0
STM32L4: Update ST Cube HAL to V1.11.0
2 parents bf139eb + d50c329 commit 635a824

File tree

223 files changed

+70139
-40186
lines changed

Some content is hidden

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

223 files changed

+70139
-40186
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l432xx.h

Lines changed: 3930 additions & 3945 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l4xx.h

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
******************************************************************************
33
* @file stm32l4xx.h
44
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
75
* @brief CMSIS STM32L4xx Device Peripheral Access Layer Header File.
86
*
97
* The file is the unique include file that the application programmer
108
* is using in the C source code, usually in main.c. This file contains:
119
* - Configuration section that allows to select:
1210
* - The STM32L4xx device used in the target application
13-
* - To use or not the peripherals drivers in application code(i.e.
14-
* code will be based on direct access to peripherals registers
11+
* - To use or not the peripherals drivers in application code(i.e.
12+
* code will be based on direct access to peripherals registers
1513
* rather than drivers API), this option is controlled by
1614
* "#define USE_HAL_DRIVER"
1715
*
@@ -78,7 +76,8 @@
7876
#if !defined (STM32L431xx) && !defined (STM32L432xx) && !defined (STM32L433xx) && !defined (STM32L442xx) && !defined (STM32L443xx) && \
7977
!defined (STM32L451xx) && !defined (STM32L452xx) && !defined (STM32L462xx) && \
8078
!defined (STM32L471xx) && !defined (STM32L475xx) && !defined (STM32L476xx) && !defined (STM32L485xx) && !defined (STM32L486xx) && \
81-
!defined (STM32L496xx) && !defined (STM32L4A6xx)
79+
!defined (STM32L496xx) && !defined (STM32L4A6xx) && \
80+
!defined (STM32L4R5xx) && !defined (STM32L4R7xx) && !defined (STM32L4R9xx) && !defined (STM32L4S5xx) && !defined (STM32L4S7xx) && !defined (STM32L4S9xx)
8281
/* #define STM32L431xx */ /*!< STM32L431xx Devices */
8382
#define STM32L432xx /*!< STM32L432xx Devices */
8483
/* #define STM32L433xx */ /*!< STM32L433xx Devices */
@@ -94,6 +93,12 @@
9493
/* #define STM32L486xx */ /*!< STM32L486xx Devices */
9594
/* #define STM32L496xx */ /*!< STM32L496xx Devices */
9695
/* #define STM32L4A6xx */ /*!< STM32L4A6xx Devices */
96+
/* #define STM32L4R5xx */ /*!< STM32L4R5xx Devices */
97+
/* #define STM32L4R7xx */ /*!< STM32L4R7xx Devices */
98+
/* #define STM32L4R9xx */ /*!< STM32L4R9xx Devices */
99+
/* #define STM32L4S5xx */ /*!< STM32L4S5xx Devices */
100+
/* #define STM32L4S7xx */ /*!< STM32L4S7xx Devices */
101+
/* #define STM32L4S9xx */ /*!< STM32L4S9xx Devices */
97102
#endif
98103

99104
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -109,11 +114,11 @@
109114
#endif /* USE_HAL_DRIVER */
110115

111116
/**
112-
* @brief CMSIS Device version number V1.3.1
117+
* @brief CMSIS Device version number
113118
*/
114119
#define __STM32L4_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
115-
#define __STM32L4_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
116-
#define __STM32L4_CMSIS_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */
120+
#define __STM32L4_CMSIS_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
121+
#define __STM32L4_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */
117122
#define __STM32L4_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
118123
#define __STM32L4_CMSIS_VERSION ((__STM32L4_CMSIS_VERSION_MAIN << 24)\
119124
|(__STM32L4_CMSIS_VERSION_SUB1 << 16)\
@@ -158,6 +163,18 @@
158163
#include "stm32l496xx.h"
159164
#elif defined(STM32L4A6xx)
160165
#include "stm32l4a6xx.h"
166+
#elif defined(STM32L4R5xx)
167+
#include "stm32l4r5xx.h"
168+
#elif defined(STM32L4R7xx)
169+
#include "stm32l4r7xx.h"
170+
#elif defined(STM32L4R9xx)
171+
#include "stm32l4r9xx.h"
172+
#elif defined(STM32L4S5xx)
173+
#include "stm32l4s5xx.h"
174+
#elif defined(STM32L4S7xx)
175+
#include "stm32l4s7xx.h"
176+
#elif defined(STM32L4S9xx)
177+
#include "stm32l4s9xx.h"
161178
#else
162179
#error "Please select first the target STM32L4xx device used in your application (in stm32l4xx.h file)"
163180
#endif

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/system_stm32l4xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file system_stm32l4xx.h
44
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
75
* @brief CMSIS Cortex-M4 Device System Source File for STM32L4xx devices.
86
******************************************************************************
97
* @attention

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/stm32l433xx.h

Lines changed: 4242 additions & 4253 deletions
Large diffs are not rendered by default.

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/stm32l4xx.h

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
******************************************************************************
33
* @file stm32l4xx.h
44
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
75
* @brief CMSIS STM32L4xx Device Peripheral Access Layer Header File.
86
*
97
* The file is the unique include file that the application programmer
108
* is using in the C source code, usually in main.c. This file contains:
119
* - Configuration section that allows to select:
1210
* - The STM32L4xx device used in the target application
13-
* - To use or not the peripherals drivers in application code(i.e.
14-
* code will be based on direct access to peripherals registers
11+
* - To use or not the peripherals drivers in application code(i.e.
12+
* code will be based on direct access to peripherals registers
1513
* rather than drivers API), this option is controlled by
1614
* "#define USE_HAL_DRIVER"
1715
*
@@ -78,7 +76,8 @@
7876
#if !defined (STM32L431xx) && !defined (STM32L432xx) && !defined (STM32L433xx) && !defined (STM32L442xx) && !defined (STM32L443xx) && \
7977
!defined (STM32L451xx) && !defined (STM32L452xx) && !defined (STM32L462xx) && \
8078
!defined (STM32L471xx) && !defined (STM32L475xx) && !defined (STM32L476xx) && !defined (STM32L485xx) && !defined (STM32L486xx) && \
81-
!defined (STM32L496xx) && !defined (STM32L4A6xx)
79+
!defined (STM32L496xx) && !defined (STM32L4A6xx) && \
80+
!defined (STM32L4R5xx) && !defined (STM32L4R7xx) && !defined (STM32L4R9xx) && !defined (STM32L4S5xx) && !defined (STM32L4S7xx) && !defined (STM32L4S9xx)
8281
/* #define STM32L431xx */ /*!< STM32L431xx Devices */
8382
/* #define STM32L432xx */ /*!< STM32L432xx Devices */
8483
#define STM32L433xx /*!< STM32L433xx Devices */
@@ -94,6 +93,12 @@
9493
/* #define STM32L486xx */ /*!< STM32L486xx Devices */
9594
/* #define STM32L496xx */ /*!< STM32L496xx Devices */
9695
/* #define STM32L4A6xx */ /*!< STM32L4A6xx Devices */
96+
/* #define STM32L4R5xx */ /*!< STM32L4R5xx Devices */
97+
/* #define STM32L4R7xx */ /*!< STM32L4R7xx Devices */
98+
/* #define STM32L4R9xx */ /*!< STM32L4R9xx Devices */
99+
/* #define STM32L4S5xx */ /*!< STM32L4S5xx Devices */
100+
/* #define STM32L4S7xx */ /*!< STM32L4S7xx Devices */
101+
/* #define STM32L4S9xx */ /*!< STM32L4S9xx Devices */
97102
#endif
98103

99104
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -109,11 +114,11 @@
109114
#endif /* USE_HAL_DRIVER */
110115

111116
/**
112-
* @brief CMSIS Device version number V1.3.1
117+
* @brief CMSIS Device version number
113118
*/
114119
#define __STM32L4_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
115-
#define __STM32L4_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
116-
#define __STM32L4_CMSIS_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */
120+
#define __STM32L4_CMSIS_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
121+
#define __STM32L4_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */
117122
#define __STM32L4_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
118123
#define __STM32L4_CMSIS_VERSION ((__STM32L4_CMSIS_VERSION_MAIN << 24)\
119124
|(__STM32L4_CMSIS_VERSION_SUB1 << 16)\
@@ -158,6 +163,18 @@
158163
#include "stm32l496xx.h"
159164
#elif defined(STM32L4A6xx)
160165
#include "stm32l4a6xx.h"
166+
#elif defined(STM32L4R5xx)
167+
#include "stm32l4r5xx.h"
168+
#elif defined(STM32L4R7xx)
169+
#include "stm32l4r7xx.h"
170+
#elif defined(STM32L4R9xx)
171+
#include "stm32l4r9xx.h"
172+
#elif defined(STM32L4S5xx)
173+
#include "stm32l4s5xx.h"
174+
#elif defined(STM32L4S7xx)
175+
#include "stm32l4s7xx.h"
176+
#elif defined(STM32L4S9xx)
177+
#include "stm32l4s9xx.h"
161178
#else
162179
#error "Please select first the target STM32L4xx device used in your application (in stm32l4xx.h file)"
163180
#endif

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/system_stm32l4xx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file system_stm32l4xx.h
44
* @author MCD Application Team
5-
* @version V1.3.1
6-
* @date 21-April-2017
75
* @brief CMSIS Cortex-M4 Device System Source File for STM32L4xx devices.
86
******************************************************************************
97
* @attention

0 commit comments

Comments
 (0)