Skip to content

Commit daf1963

Browse files
committed
H7 cube update : mbed updates
1 parent 8bfdbc8 commit daf1963

Some content is hidden

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

49 files changed

+92
-90
lines changed

targets/TARGET_STM/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This table summarizes the STM32Cube versions currently used :
1818
| F3 | 1.9.0 |
1919
| F4 | 1.19.0 |
2020
| F7 | 1.10.0 |
21+
| H7 | 1.4.0 |
2122
| L0 | 1.10.0 |
2223
| L1 | 1.8.1 |
2324
| L4 | 1.11.0 |

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_hal_def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
/* Includes ------------------------------------------------------------------*/
3030
#include "stm32h7xx.h"
31-
#include "Legacy/stm32_hal_legacy.h"
31+
#include "stm32_hal_legacy.h"
3232
#include <stddef.h>
3333
#include <math.h>
3434

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_hal_rtc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
/* Includes ------------------------------------------------------------------*/
2929
#include "stm32h7xx_hal_def.h"
30+
#include "stm32h7xx_ll_rtc.h"
3031

3132
/** @addtogroup STM32H7xx_HAL_Driver
3233
* @{

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_adc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_adc.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_adc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ extern "C" {
398398

399399

400400
/* Exported types ------------------------------------------------------------*/
401-
#if defined(USE_FULL_LL_DRIVER)
401+
#if 1 //mbed
402402
/** @defgroup ADC_LL_ES_INIT ADC Exported Init structure
403403
* @{
404404
*/
@@ -7114,7 +7114,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsEnabledIT_AWD3(ADC_TypeDef *ADCx)
71147114
* @}
71157115
*/
71167116

7117-
#if defined(USE_FULL_LL_DRIVER)
7117+
#if 1 //mbed
71187118
/** @defgroup ADC_LL_EF_Init Initialization and de-initialization functions
71197119
* @{
71207120
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_bdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************
1818
*/
1919

20-
#if defined(USE_FULL_LL_DRIVER)
20+
#if 1 //mbed
2121

2222
/* Includes ------------------------------------------------------------------*/
2323
#include "stm32h7xx_ll_bdma.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_bdma.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static const uint8_t LL_BDMA_CH_OFFSET_TAB[] =
6767
#endif
6868

6969
/* Exported types ------------------------------------------------------------*/
70-
#if defined(USE_FULL_LL_DRIVER)
70+
#if 1 //mbed
7171
/** @defgroup BDMA_LL_ES_INIT BDMA Exported Init structure
7272
* @{
7373
*/
@@ -245,7 +245,7 @@ typedef struct
245245
#define LL_BDMA_CHANNEL_5 0x00000005U /*!< BDMA Channel 5 */
246246
#define LL_BDMA_CHANNEL_6 0x00000006U /*!< BDMA Channel 6 */
247247
#define LL_BDMA_CHANNEL_7 0x00000007U /*!< BDMA Channel 7 */
248-
#if defined(USE_FULL_LL_DRIVER)
248+
#if 1 //mbed
249249
#define LL_BDMA_CHANNEL_ALL 0xFFFF0000U /*!< BDMA Channel all (used only for function @ref LL_BDMA_DeInit(). */
250250
#endif /*USE_FULL_LL_DRIVER*/
251251
/**
@@ -2321,7 +2321,7 @@ __STATIC_INLINE uint32_t LL_BDMA_IsEnabledIT_TE(BDMA_TypeDef *BDMAx, uint32_t Ch
23212321
* @}
23222322
*/
23232323

2324-
#if defined(USE_FULL_LL_DRIVER)
2324+
#if 1 //mbed
23252325
/** @defgroup BDMA_LL_EF_Init Initialization and de-initialization functions
23262326
* @{
23272327
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_comp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_comp.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_comp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern "C" {
5454

5555
/* Private macros ------------------------------------------------------------*/
5656
/* Exported types ------------------------------------------------------------*/
57-
#if defined(USE_FULL_LL_DRIVER)
57+
#if 1 //mbed
5858
/** @defgroup COMP_LL_ES_INIT COMP Exported Init structure
5959
* @{
6060
*/
@@ -718,7 +718,7 @@ __STATIC_INLINE uint32_t LL_COMP_ReadOutputLevel(COMP_TypeDef *COMPx)
718718
* @}
719719
*/
720720

721-
#if defined(USE_FULL_LL_DRIVER)
721+
#if 1 //mbed
722722
/** @defgroup COMP_LL_EF_Init Initialization and de-initialization functions
723723
* @{
724724
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_crc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_crc.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_crc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ __STATIC_INLINE void LL_CRC_Write_IDR(CRC_TypeDef *CRCx, uint32_t InData)
429429
* @}
430430
*/
431431

432-
#if defined(USE_FULL_LL_DRIVER)
432+
#if 1 //mbed
433433
/** @defgroup CRC_LL_EF_Init Initialization and de-initialization functions
434434
* @{
435435
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************
1818
*/
1919

20-
#if defined(USE_FULL_LL_DRIVER)
20+
#if 1 //mbed
2121

2222
/* Includes ------------------------------------------------------------------*/
2323
#include "stm32h7xx_ll_dac.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dac.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ extern "C" {
126126

127127

128128
/* Exported types ------------------------------------------------------------*/
129-
#if defined(USE_FULL_LL_DRIVER)
129+
#if 1 //mbed
130130
/** @defgroup DAC_LL_ES_INIT DAC Exported Init structure
131131
* @{
132132
*/
@@ -1767,7 +1767,7 @@ __STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR2(DAC_TypeDef *DACx)
17671767
* @}
17681768
*/
17691769

1770-
#if defined(USE_FULL_LL_DRIVER)
1770+
#if 1 //mbed
17711771
/** @defgroup DAC_LL_EF_Init Initialization and de-initialization functions
17721772
* @{
17731773
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_dma.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dma.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static const uint8_t LL_DMA_STR_OFFSET_TAB[] =
7474
(((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) ? 0UL : 8UL)
7575

7676
/* Exported types ------------------------------------------------------------*/
77-
#if defined(USE_FULL_LL_DRIVER)
77+
#if 1 //mbed
7878
/** @defgroup DMA_LL_ES_INIT DMA Exported Init structure
7979
* @{
8080
*/
@@ -3153,7 +3153,7 @@ __STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_FE(DMA_TypeDef *DMAx, uint32_t Strea
31533153
* @}
31543154
*/
31553155

3156-
#if defined(USE_FULL_LL_DRIVER)
3156+
#if 1 //mbed
31573157
/** @defgroup DMA_LL_EF_Init Initialization and de-initialization functions
31583158
* @{
31593159
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dma2d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_dma2d.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_dma2d.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extern "C" {
4242
/* Private variables ---------------------------------------------------------*/
4343
/* Private constants ---------------------------------------------------------*/
4444
/* Private macros ------------------------------------------------------------*/
45-
#if defined(USE_FULL_LL_DRIVER)
45+
#if 1 //mbed
4646
/** @defgroup DMA2D_LL_Private_Macros DMA2D Private Macros
4747
* @{
4848
*/
@@ -53,7 +53,7 @@ extern "C" {
5353
#endif /*USE_FULL_LL_DRIVER*/
5454

5555
/* Exported types ------------------------------------------------------------*/
56-
#if defined(USE_FULL_LL_DRIVER)
56+
#if 1 //mbed
5757
/** @defgroup DMA2D_LL_ES_Init_Struct DMA2D Exported Init structures
5858
* @{
5959
*/
@@ -2046,7 +2046,7 @@ __STATIC_INLINE uint32_t LL_DMA2D_IsEnabledIT_TE(DMA2D_TypeDef *DMA2Dx)
20462046
* @}
20472047
*/
20482048

2049-
#if defined(USE_FULL_LL_DRIVER)
2049+
#if 1 //mbed
20502050
/** @defgroup DMA2D_LL_EF_Init_Functions Initialization and De-initialization Functions
20512051
* @{
20522052
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_exti.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_exti.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_exti.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extern "C" {
4242
/* Private variables ---------------------------------------------------------*/
4343
/* Private constants ---------------------------------------------------------*/
4444
/* Private Macros ------------------------------------------------------------*/
45-
#if defined(USE_FULL_LL_DRIVER)
45+
#if 1 //mbed
4646
/** @defgroup EXTI_LL_Private_Macros EXTI Private Macros
4747
* @{
4848
*/
@@ -51,7 +51,7 @@ extern "C" {
5151
*/
5252
#endif /*USE_FULL_LL_DRIVER*/
5353
/* Exported types ------------------------------------------------------------*/
54-
#if defined(USE_FULL_LL_DRIVER)
54+
#if 1 //mbed
5555
/** @defgroup EXTI_LL_ES_INIT EXTI Exported Init structure
5656
* @{
5757
*/
@@ -184,14 +184,14 @@ typedef struct
184184

185185
#define LL_EXTI_LINE_ALL (0xFFFFFFFFU) /*!< All Extended line */
186186

187-
#if defined(USE_FULL_LL_DRIVER)
187+
#if 1 //mbed
188188
#define LL_EXTI_LINE_NONE (0x00000000U) /*!< None Extended line */
189189
#endif /*USE_FULL_LL_DRIVER*/
190190

191191
/**
192192
* @}
193193
*/
194-
#if defined(USE_FULL_LL_DRIVER)
194+
#if 1 //mbed
195195

196196
/** @defgroup EXTI_LL_EC_MODE Mode
197197
* @{
@@ -3099,7 +3099,7 @@ __STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_48_63(uint32_t ExtiLine)
30993099
* @}
31003100
*/
31013101

3102-
#if defined(USE_FULL_LL_DRIVER)
3102+
#if 1 //mbed
31033103
/** @defgroup EXTI_LL_EF_Init Initialization and de-initialization functions
31043104
* @{,
31053105
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************
1818
*/
1919

20-
#if defined(USE_FULL_LL_DRIVER)
20+
#if 1 //mbed
2121

2222
/* Includes ------------------------------------------------------------------*/
2323
#include "stm32h7xx_ll_gpio.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_gpio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extern "C" {
4242
/* Private variables ---------------------------------------------------------*/
4343
/* Private constants ---------------------------------------------------------*/
4444
/* Private macros ------------------------------------------------------------*/
45-
#if defined(USE_FULL_LL_DRIVER)
45+
#if 1 //mbed
4646
/** @defgroup GPIO_LL_Private_Macros GPIO Private Macros
4747
* @{
4848
*/
@@ -53,7 +53,7 @@ extern "C" {
5353
#endif /*USE_FULL_LL_DRIVER*/
5454

5555
/* Exported types ------------------------------------------------------------*/
56-
#if defined(USE_FULL_LL_DRIVER)
56+
#if 1 //mbed
5757
/** @defgroup GPIO_LL_ES_INIT GPIO Exported Init structures
5858
* @{
5959
*/
@@ -948,7 +948,7 @@ __STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask)
948948
* @}
949949
*/
950950

951-
#if defined(USE_FULL_LL_DRIVER)
951+
#if 1 //mbed
952952
/** @defgroup GPIO_LL_EF_Init Initialization and de-initialization functions
953953
* @{
954954
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_hrtim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_hrtim.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_hrtim.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static const uint8_t REG_SHIFT_TAB_FLTxE[] =
281281

282282
/* Private macros ------------------------------------------------------------*/
283283
/* Exported types ------------------------------------------------------------*/
284-
#if defined(USE_FULL_LL_DRIVER)
284+
#if 1 //mbed
285285
/** @defgroup HRTIM_LL_ES_INIT HRTIM Exported Init structure
286286
* @{
287287
*/
@@ -10741,7 +10741,7 @@ __STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_DLYPRT(HRTIM_TypeDef *HRTIMx,
1074110741
* @}
1074210742
*/
1074310743

10744-
#if defined(USE_FULL_LL_DRIVER)
10744+
#if 1 //mbed
1074510745
/** @defgroup HRTIM_LL_LL_EF_Init In-initialization and de-initialization functions
1074610746
* @{
1074710747
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
******************************************************************************
1818
*/
19-
#if defined(USE_FULL_LL_DRIVER)
19+
#if 1 //mbed
2020

2121
/* Includes ------------------------------------------------------------------*/
2222
#include "stm32h7xx_ll_i2c.h"

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_i2c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extern "C" {
5050
*/
5151

5252
/* Private macros ------------------------------------------------------------*/
53-
#if defined(USE_FULL_LL_DRIVER)
53+
#if 1 //mbed
5454
/** @defgroup I2C_LL_Private_Macros I2C Private Macros
5555
* @{
5656
*/
@@ -60,7 +60,7 @@ extern "C" {
6060
#endif /*USE_FULL_LL_DRIVER*/
6161

6262
/* Exported types ------------------------------------------------------------*/
63-
#if defined(USE_FULL_LL_DRIVER)
63+
#if 1 //mbed
6464
/** @defgroup I2C_LL_ES_INIT I2C Exported Init structure
6565
* @{
6666
*/
@@ -2190,7 +2190,7 @@ __STATIC_INLINE void LL_I2C_TransmitData8(I2C_TypeDef *I2Cx, uint8_t Data)
21902190
* @}
21912191
*/
21922192

2193-
#if defined(USE_FULL_LL_DRIVER)
2193+
#if 1 //mbed
21942194
/** @defgroup I2C_LL_EF_Init Initialization and de-initialization functions
21952195
* @{
21962196
*/

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_ll_lptim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* opensource.org/licenses/BSD-3-Clause
1616
* ******************************************************************************
1717
*/
18-
#if defined(USE_FULL_LL_DRIVER)
18+
#if 1 //mbed
1919

2020
/* Includes ------------------------------------------------------------------*/
2121
#include "stm32h7xx_ll_lptim.h"

0 commit comments

Comments
 (0)