Skip to content

Commit 81b1c33

Browse files
committed
system(MP1) update STM32MP1xx HAL Drivers to v1.5.0
Included in STM32CubeMP1 FW 1.5.0 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent feba432 commit 81b1c33

File tree

166 files changed

+8228
-3717
lines changed

Some content is hidden

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

166 files changed

+8228
-3717
lines changed

system/Drivers/STM32MP1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h

Lines changed: 149 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
******************************************************************************
88
* @attention
99
*
10-
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
11-
* All rights reserved.</center></h2>
10+
* Copyright (c) 2021 STMicroelectronics.
11+
* All rights reserved.
1212
*
13-
* This software component is licensed by ST under BSD 3-Clause license,
14-
* the "License"; You may not use this file except in compliance with the
15-
* License. You may obtain a copy of the License at:
16-
* opensource.org/licenses/BSD-3-Clause
13+
* This software is licensed under terms that can be found in the LICENSE file
14+
* in the root directory of this software component.
15+
* If no LICENSE file comes with this software, it is provided AS-IS.
1716
*
1817
******************************************************************************
1918
*/
@@ -38,6 +37,14 @@ extern "C" {
3837
#define AES_CLEARFLAG_CCF CRYP_CLEARFLAG_CCF
3938
#define AES_CLEARFLAG_RDERR CRYP_CLEARFLAG_RDERR
4039
#define AES_CLEARFLAG_WRERR CRYP_CLEARFLAG_WRERR
40+
#if defined(STM32U5)
41+
#define CRYP_DATATYPE_32B CRYP_NO_SWAP
42+
#define CRYP_DATATYPE_16B CRYP_HALFWORD_SWAP
43+
#define CRYP_DATATYPE_8B CRYP_BYTE_SWAP
44+
#define CRYP_DATATYPE_1B CRYP_BIT_SWAP
45+
#define CRYP_CCF_CLEAR CRYP_CLEAR_CCF
46+
#define CRYP_ERR_CLEAR CRYP_CLEAR_RWEIF
47+
#endif /* STM32U5 */
4148
/**
4249
* @}
4350
*/
@@ -206,6 +213,21 @@ extern "C" {
206213
* @{
207214
*/
208215
#define __HAL_CORTEX_SYSTICKCLK_CONFIG HAL_SYSTICK_CLKSourceConfig
216+
#if defined(STM32U5)
217+
#define MPU_DEVICE_nGnRnE MPU_DEVICE_NGNRNE
218+
#define MPU_DEVICE_nGnRE MPU_DEVICE_NGNRE
219+
#define MPU_DEVICE_nGRE MPU_DEVICE_NGRE
220+
#endif /* STM32U5 */
221+
/**
222+
* @}
223+
*/
224+
225+
/** @defgroup CRC_Aliases CRC API aliases
226+
* @{
227+
*/
228+
#define HAL_CRC_Input_Data_Reverse HAL_CRCEx_Input_Data_Reverse /*!< Aliased to HAL_CRCEx_Input_Data_Reverse for inter STM32 series compatibility */
229+
#define HAL_CRC_Output_Data_Reverse HAL_CRCEx_Output_Data_Reverse /*!< Aliased to HAL_CRCEx_Output_Data_Reverse for inter STM32 series compatibility */
230+
209231
/**
210232
* @}
211233
*/
@@ -235,11 +257,18 @@ extern "C" {
235257
#define DAC_WAVEGENERATION_NOISE DAC_WAVE_NOISE
236258
#define DAC_WAVEGENERATION_TRIANGLE DAC_WAVE_TRIANGLE
237259

238-
#if defined(STM32G4) || defined(STM32H7)
260+
#if defined(STM32G4) || defined(STM32H7) || defined (STM32U5)
239261
#define DAC_CHIPCONNECT_DISABLE DAC_CHIPCONNECT_EXTERNAL
240262
#define DAC_CHIPCONNECT_ENABLE DAC_CHIPCONNECT_INTERNAL
241263
#endif
242264

265+
#if defined(STM32U5)
266+
#define DAC_TRIGGER_STOP_LPTIM1_OUT DAC_TRIGGER_STOP_LPTIM1_CH1
267+
#define DAC_TRIGGER_STOP_LPTIM3_OUT DAC_TRIGGER_STOP_LPTIM3_CH1
268+
#define DAC_TRIGGER_LPTIM1_OUT DAC_TRIGGER_LPTIM1_CH1
269+
#define DAC_TRIGGER_LPTIM3_OUT DAC_TRIGGER_LPTIM3_CH1
270+
#endif
271+
243272
#if defined(STM32L1) || defined(STM32L4) || defined(STM32G0) || defined(STM32L5) || defined(STM32H7) || defined(STM32F4) || defined(STM32G4)
244273
#define HAL_DAC_MSP_INIT_CB_ID HAL_DAC_MSPINIT_CB_ID
245274
#define HAL_DAC_MSP_DEINIT_CB_ID HAL_DAC_MSPDEINIT_CB_ID
@@ -469,15 +498,24 @@ extern "C" {
469498
#define OB_BOOT_ENTRY_FORCED_FLASH OB_BOOT_LOCK_ENABLE
470499
#endif
471500
#if defined(STM32H7)
472-
#define FLASH_FLAG_SNECCE_BANK1RR FLASH_FLAG_SNECCERR_BANK1
473-
#define FLASH_FLAG_DBECCE_BANK1RR FLASH_FLAG_DBECCERR_BANK1
474-
#define FLASH_FLAG_STRBER_BANK1R FLASH_FLAG_STRBERR_BANK1
475-
#define FLASH_FLAG_SNECCE_BANK2RR FLASH_FLAG_SNECCERR_BANK2
476-
#define FLASH_FLAG_DBECCE_BANK2RR FLASH_FLAG_DBECCERR_BANK2
477-
#define FLASH_FLAG_STRBER_BANK2R FLASH_FLAG_STRBERR_BANK2
478-
#define FLASH_FLAG_WDW FLASH_FLAG_WBNE
479-
#define OB_WRP_SECTOR_All OB_WRP_SECTOR_ALL
501+
#define FLASH_FLAG_SNECCE_BANK1RR FLASH_FLAG_SNECCERR_BANK1
502+
#define FLASH_FLAG_DBECCE_BANK1RR FLASH_FLAG_DBECCERR_BANK1
503+
#define FLASH_FLAG_STRBER_BANK1R FLASH_FLAG_STRBERR_BANK1
504+
#define FLASH_FLAG_SNECCE_BANK2RR FLASH_FLAG_SNECCERR_BANK2
505+
#define FLASH_FLAG_DBECCE_BANK2RR FLASH_FLAG_DBECCERR_BANK2
506+
#define FLASH_FLAG_STRBER_BANK2R FLASH_FLAG_STRBERR_BANK2
507+
#define FLASH_FLAG_WDW FLASH_FLAG_WBNE
508+
#define OB_WRP_SECTOR_All OB_WRP_SECTOR_ALL
480509
#endif /* STM32H7 */
510+
#if defined(STM32U5)
511+
#define OB_USER_nRST_STOP OB_USER_NRST_STOP
512+
#define OB_USER_nRST_STDBY OB_USER_NRST_STDBY
513+
#define OB_USER_nRST_SHDW OB_USER_NRST_SHDW
514+
#define OB_USER_nSWBOOT0 OB_USER_NSWBOOT0
515+
#define OB_USER_nBOOT0 OB_USER_NBOOT0
516+
#define OB_nBOOT0_RESET OB_NBOOT0_RESET
517+
#define OB_nBOOT0_SET OB_NBOOT0_SET
518+
#endif /* STM32U5 */
481519

482520
/**
483521
* @}
@@ -520,6 +558,7 @@ extern "C" {
520558
#define HAL_SYSCFG_EnableIOAnalogSwitchVDD HAL_SYSCFG_EnableIOSwitchVDD
521559
#define HAL_SYSCFG_DisableIOAnalogSwitchVDD HAL_SYSCFG_DisableIOSwitchVDD
522560
#endif /* STM32G4 */
561+
523562
/**
524563
* @}
525564
*/
@@ -594,12 +633,12 @@ extern "C" {
594633
#define GPIO_AF1_LPTIM GPIO_AF1_LPTIM1
595634
#define GPIO_AF2_LPTIM GPIO_AF2_LPTIM1
596635

597-
#if defined(STM32L0) || defined(STM32L4) || defined(STM32F4) || defined(STM32F2) || defined(STM32F7) || defined(STM32G4) || defined(STM32H7) || defined(STM32WB)
636+
#if defined(STM32L0) || defined(STM32L4) || defined(STM32F4) || defined(STM32F2) || defined(STM32F7) || defined(STM32G4) || defined(STM32H7) || defined(STM32WB) || defined(STM32U5)
598637
#define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW
599638
#define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM
600639
#define GPIO_SPEED_FAST GPIO_SPEED_FREQ_HIGH
601640
#define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH
602-
#endif /* STM32L0 || STM32L4 || STM32F4 || STM32F2 || STM32F7 || STM32G4 || STM32H7 || STM32WB*/
641+
#endif /* STM32L0 || STM32L4 || STM32F4 || STM32F2 || STM32F7 || STM32G4 || STM32H7 || STM32WB || STM32U5*/
603642

604643
#if defined(STM32L1)
605644
#define GPIO_SPEED_VERY_LOW GPIO_SPEED_FREQ_LOW
@@ -615,6 +654,10 @@ extern "C" {
615654
#endif /* STM32F0 || STM32F3 || STM32F1 */
616655

617656
#define GPIO_AF6_DFSDM GPIO_AF6_DFSDM1
657+
658+
#if defined(STM32U5)
659+
#define GPIO_AF0_RTC_50Hz GPIO_AF0_RTC_50HZ
660+
#endif /* STM32U5 */
618661
/**
619662
* @}
620663
*/
@@ -852,6 +895,10 @@ extern "C" {
852895
#define LPTIM_TRIGSAMPLETIME_4TRANSITION LPTIM_TRIGSAMPLETIME_4TRANSITIONS
853896
#define LPTIM_TRIGSAMPLETIME_8TRANSITION LPTIM_TRIGSAMPLETIME_8TRANSITIONS
854897

898+
#if defined(STM32U5)
899+
#define LPTIM_ISR_CC1 LPTIM_ISR_CC1IF
900+
#define LPTIM_ISR_CC2 LPTIM_ISR_CC2IF
901+
#endif /* STM32U5 */
855902
/**
856903
* @}
857904
*/
@@ -1378,6 +1425,20 @@ extern "C" {
13781425
*/
13791426
#endif /* STM32L4 || STM32F7 || STM32F4 || STM32H7 */
13801427

1428+
#if defined(STM32L4) || defined(STM32F7) || defined(STM32F427xx) || defined(STM32F437xx) \
1429+
|| defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F469xx) || defined(STM32F479xx) \
1430+
|| defined(STM32H7) || defined(STM32U5)
1431+
/** @defgroup DMA2D_Aliases DMA2D API Aliases
1432+
* @{
1433+
*/
1434+
#define HAL_DMA2D_DisableCLUT HAL_DMA2D_CLUTLoading_Abort /*!< Aliased to HAL_DMA2D_CLUTLoading_Abort
1435+
for compatibility with legacy code */
1436+
/**
1437+
* @}
1438+
*/
1439+
1440+
#endif /* STM32L4 || STM32F7 || STM32F4 || STM32H7 || STM32U5 */
1441+
13811442
/** @defgroup HAL_PPP_Aliased_Defines HAL PPP Aliased Defines maintained for legacy purpose
13821443
* @{
13831444
*/
@@ -1396,6 +1457,29 @@ extern "C" {
13961457
* @}
13971458
*/
13981459

1460+
/** @defgroup HAL_DCACHE_Aliased_Functions HAL DCACHE Aliased Functions maintained for legacy purpose
1461+
* @{
1462+
*/
1463+
1464+
#if defined(STM32U5)
1465+
#define HAL_DCACHE_CleanInvalidateByAddr HAL_DCACHE_CleanInvalidByAddr
1466+
#define HAL_DCACHE_CleanInvalidateByAddr_IT HAL_DCACHE_CleanInvalidByAddr_IT
1467+
#endif /* STM32U5 */
1468+
1469+
/**
1470+
* @}
1471+
*/
1472+
1473+
#if !defined(STM32F2)
1474+
/** @defgroup HASH_alias HASH API alias
1475+
* @{
1476+
*/
1477+
#define HAL_HASHEx_IRQHandler HAL_HASH_IRQHandler /*!< Redirection for compatibility with legacy code */
1478+
/**
1479+
*
1480+
* @}
1481+
*/
1482+
#endif /* STM32F2 */
13991483
/** @defgroup HAL_HASH_Aliased_Functions HAL HASH Aliased Functions maintained for legacy purpose
14001484
* @{
14011485
*/
@@ -3216,7 +3300,7 @@ extern "C" {
32163300
#define RCC_MCOSOURCE_PLLCLK_NODIV RCC_MCO1SOURCE_PLLCLK
32173301
#define RCC_MCOSOURCE_PLLCLK_DIV2 RCC_MCO1SOURCE_PLLCLK_DIV2
32183302

3219-
#if defined(STM32L4) || defined(STM32WB) || defined(STM32G0) || defined(STM32G4) || defined(STM32L5)
3303+
#if defined(STM32L4) || defined(STM32WB) || defined(STM32G0) || defined(STM32G4) || defined(STM32L5) || defined(STM32WL)
32203304
#define RCC_RTCCLKSOURCE_NO_CLK RCC_RTCCLKSOURCE_NONE
32213305
#else
32223306
#define RCC_RTCCLKSOURCE_NONE RCC_RTCCLKSOURCE_NO_CLK
@@ -3328,6 +3412,32 @@ extern "C" {
33283412
#define RCC_DFSDM1CLKSOURCE_APB2 RCC_DFSDM1CLKSOURCE_PCLK2
33293413
#define RCC_DFSDM2CLKSOURCE_APB2 RCC_DFSDM2CLKSOURCE_PCLK2
33303414
#define RCC_FMPI2C1CLKSOURCE_APB RCC_FMPI2C1CLKSOURCE_PCLK1
3415+
#if defined(STM32U5)
3416+
#define MSIKPLLModeSEL RCC_MSIKPLL_MODE_SEL
3417+
#define MSISPLLModeSEL RCC_MSISPLL_MODE_SEL
3418+
#define __HAL_RCC_AHB21_CLK_DISABLE __HAL_RCC_AHB2_1_CLK_DISABLE
3419+
#define __HAL_RCC_AHB22_CLK_DISABLE __HAL_RCC_AHB2_2_CLK_DISABLE
3420+
#define __HAL_RCC_AHB1_CLK_Disable_Clear __HAL_RCC_AHB1_CLK_ENABLE
3421+
#define __HAL_RCC_AHB21_CLK_Disable_Clear __HAL_RCC_AHB2_1_CLK_ENABLE
3422+
#define __HAL_RCC_AHB22_CLK_Disable_Clear __HAL_RCC_AHB2_2_CLK_ENABLE
3423+
#define __HAL_RCC_AHB3_CLK_Disable_Clear __HAL_RCC_AHB3_CLK_ENABLE
3424+
#define __HAL_RCC_APB1_CLK_Disable_Clear __HAL_RCC_APB1_CLK_ENABLE
3425+
#define __HAL_RCC_APB2_CLK_Disable_Clear __HAL_RCC_APB2_CLK_ENABLE
3426+
#define __HAL_RCC_APB3_CLK_Disable_Clear __HAL_RCC_APB3_CLK_ENABLE
3427+
#define IS_RCC_MSIPLLModeSelection IS_RCC_MSIPLLMODE_SELECT
3428+
#define RCC_PERIPHCLK_CLK48 RCC_PERIPHCLK_ICLK
3429+
#define RCC_CLK48CLKSOURCE_HSI48 RCC_ICLK_CLKSOURCE_HSI48
3430+
#define RCC_CLK48CLKSOURCE_PLL2 RCC_ICLK_CLKSOURCE_PLL2
3431+
#define RCC_CLK48CLKSOURCE_PLL1 RCC_ICLK_CLKSOURCE_PLL1
3432+
#define RCC_CLK48CLKSOURCE_MSIK RCC_ICLK_CLKSOURCE_MSIK
3433+
#define __HAL_RCC_ADC1_CLK_ENABLE __HAL_RCC_ADC12_CLK_ENABLE
3434+
#define __HAL_RCC_ADC1_CLK_DISABLE __HAL_RCC_ADC12_CLK_DISABLE
3435+
#define __HAL_RCC_ADC1_IS_CLK_ENABLED __HAL_RCC_ADC12_IS_CLK_ENABLED
3436+
#define __HAL_RCC_ADC1_IS_CLK_DISABLED __HAL_RCC_ADC12_IS_CLK_DISABLED
3437+
#define __HAL_RCC_ADC1_FORCE_RESET __HAL_RCC_ADC12_FORCE_RESET
3438+
#define __HAL_RCC_ADC1_RELEASE_RESET __HAL_RCC_ADC12_RELEASE_RESET
3439+
#endif
3440+
33313441
/**
33323442
* @}
33333443
*/
@@ -3344,7 +3454,7 @@ extern "C" {
33443454
/** @defgroup HAL_RTC_Aliased_Macros HAL RTC Aliased Macros maintained for legacy purpose
33453455
* @{
33463456
*/
3347-
#if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) || defined (STM32L422xx) || defined (STM32L4P5xx) || defined (STM32L4Q5xx) || defined (STM32G4)
3457+
#if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) || defined (STM32L422xx) || defined (STM32L4P5xx) || defined (STM32L4Q5xx) || defined (STM32G4) || defined (STM32WL) || defined (STM32U5)
33483458
#else
33493459
#define __HAL_RTC_CLEAR_FLAG __HAL_RTC_EXTI_CLEAR_FLAG
33503460
#endif
@@ -3401,13 +3511,22 @@ extern "C" {
34013511
* @}
34023512
*/
34033513

3404-
/** @defgroup HAL_SD_Aliased_Macros HAL SD Aliased Macros maintained for legacy purpose
3514+
/** @defgroup HAL_SD_Aliased_Macros HAL SD/MMC Aliased Macros maintained for legacy purpose
34053515
* @{
34063516
*/
34073517

34083518
#define SD_OCR_CID_CSD_OVERWRIETE SD_OCR_CID_CSD_OVERWRITE
34093519
#define SD_CMD_SD_APP_STAUS SD_CMD_SD_APP_STATUS
34103520

3521+
#if !defined(STM32F1) && !defined(STM32F2) && !defined(STM32F4) && !defined(STM32F7) && !defined(STM32L1)
3522+
#define eMMC_HIGH_VOLTAGE_RANGE EMMC_HIGH_VOLTAGE_RANGE
3523+
#define eMMC_DUAL_VOLTAGE_RANGE EMMC_DUAL_VOLTAGE_RANGE
3524+
#define eMMC_LOW_VOLTAGE_RANGE EMMC_LOW_VOLTAGE_RANGE
3525+
3526+
#define SDMMC_NSpeed_CLK_DIV SDMMC_NSPEED_CLK_DIV
3527+
#define SDMMC_HSpeed_CLK_DIV SDMMC_HSPEED_CLK_DIV
3528+
#endif
3529+
34113530
#if defined(STM32F4) || defined(STM32F2)
34123531
#define SD_SDMMC_DISABLED SD_SDIO_DISABLED
34133532
#define SD_SDMMC_FUNCTION_BUSY SD_SDIO_FUNCTION_BUSY
@@ -3736,6 +3855,16 @@ extern "C" {
37363855
* @}
37373856
*/
37383857

3858+
/** @defgroup HAL_Generic_Aliased_Macros HAL Generic Aliased Macros maintained for legacy purpose
3859+
* @{
3860+
*/
3861+
#if defined (STM32F7)
3862+
#define ART_ACCLERATOR_ENABLE ART_ACCELERATOR_ENABLE
3863+
#endif /* STM32F7 */
3864+
/**
3865+
* @}
3866+
*/
3867+
37393868
/** @defgroup HAL_PPP_Aliased_Macros HAL PPP Aliased Macros maintained for legacy purpose
37403869
* @{
37413870
*/
@@ -3750,5 +3879,4 @@ extern "C" {
37503879

37513880
#endif /* STM32_HAL_LEGACY */
37523881

3753-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
37543882

system/Drivers/STM32MP1xx_HAL_Driver/Inc/stm32_assert_template.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88
******************************************************************************
99
* @attention
1010
*
11-
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
12-
* All rights reserved.</center></h2>
11+
* Copyright (c) 2019 STMicroelectronics.
12+
* All rights reserved.
1313
*
14-
* This software component is licensed by ST under BSD 3-Clause license,
15-
* the "License"; You may not use this file except in compliance with the
16-
* License. You may obtain a copy of the License at:
17-
* opensource.org/licenses/BSD-3-Clause
14+
* This software is licensed under terms that can be found in the LICENSE file
15+
* in the root directory of this software component.
16+
* If no LICENSE file comes with this software, it is provided AS-IS.
1817
*
1918
******************************************************************************
2019
*/

system/Drivers/STM32MP1xx_HAL_Driver/Inc/stm32mp1xx_hal.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
******************************************************************************
88
* @attention
99
*
10-
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
11-
* All rights reserved.</center></h2>
10+
* Copyright (c) 2019 STMicroelectronics.
11+
* All rights reserved.
1212
*
13-
* This software component is licensed by ST under BSD 3-Clause license,
14-
* the "License"; You may not use this file except in compliance with the
15-
* License. You may obtain a copy of the License at:
16-
* opensource.org/licenses/BSD-3-Clause
13+
* This software is licensed under terms that can be found in the LICENSE file
14+
* in the root directory of this software component.
15+
* If no LICENSE file comes with this software, it is provided AS-IS.
1716
*
1817
******************************************************************************
1918
*/
@@ -798,5 +797,3 @@ void HAL_SYSCFG_DisableVREFBUF(void);
798797
#endif
799798

800799
#endif /* STM32MP1xx_HAL_H */
801-
802-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/STM32MP1xx_HAL_Driver/Inc/stm32mp1xx_hal_adc.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10-
* All rights reserved.</center></h2>
9+
* Copyright (c) 2019 STMicroelectronics.
10+
* All rights reserved.
1111
*
12-
* This software component is licensed by ST under BSD 3-Clause license,
13-
* the "License"; You may not use this file except in compliance with the
14-
* License. You may obtain a copy of the License at:
15-
* opensource.org/licenses/BSD-3-Clause
12+
* This software is licensed under terms that can be found in the LICENSE file
13+
* in the root directory of this software component.
14+
* If no LICENSE file comes with this software, it is provided AS-IS.
1615
*
1716
******************************************************************************
1817
*/
@@ -1805,5 +1804,3 @@ void ADC_ConfigureBoostMode(ADC_HandleTypeDef* hadc);
18051804

18061805

18071806
#endif /* STM32MP1xx_HAL_ADC_H */
1808-
1809-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

system/Drivers/STM32MP1xx_HAL_Driver/Inc/stm32mp1xx_hal_adc_ex.h

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10-
* All rights reserved.</center></h2>
9+
* Copyright (c) 2019 STMicroelectronics.
10+
* All rights reserved.
1111
*
12-
* This software component is licensed by ST under BSD 3-Clause license,
13-
* the "License"; You may not use this file except in compliance with the
14-
* License. You may obtain a copy of the License at:
15-
* opensource.org/licenses/BSD-3-Clause
12+
* This software is licensed under terms that can be found in the LICENSE file
13+
* in the root directory of this software component.
14+
* If no LICENSE file comes with this software, it is provided AS-IS.
1615
*
1716
******************************************************************************
1817
*/
@@ -1111,6 +1110,3 @@ HAL_StatusTypeDef HAL_ADCEx_EnterADCDeepPowerDownMode(ADC_HandleTypeDef *h
11111110
#endif
11121111

11131112
#endif /* STM32MP1xx_HAL_ADC_EX_H */
1114-
1115-
1116-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)