Commit 26b54d78 authored by IBEN EL HADJ MESSAOUD Marwa's avatar IBEN EL HADJ MESSAOUD Marwa Committed by Erwan Gouriou
Browse files

stm32cube: update stm32l5 to cube version V1.5.1

Update Cube version for STM32L5xx series
on https://github.com/STMicroelectronics
from version v1.5.0
to version v1.5.1

Signed-off-by: default avatarIBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
parent ddd0932a
Loading
Loading
Loading
Loading
+2 −9
Changes for stm32cube/stm32l5xx/README: 2 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Origin:
   http://www.st.com/en/embedded-software/stm32cubel5.html

Status:
   version v1.5.0
   version v1.5.1

Purpose:
   ST Microelectronics official MCU package for STM32L5 series.
@@ -23,7 +23,7 @@ URL:
   https://github.com/STMicroelectronics/STM32CubeL5

Commit:
   7c246fa2db069d306dd660bb00ca55b3d8b8198e
   7e904f8a9fc3483a01019a9b041a38098f341774

Maintained-by:
   External
@@ -43,11 +43,4 @@ Patch List:
    -Added stm32cube/stm32l5xx/drivers/include/stm32_assert.h
    -Removed unused stm32cube/stm32l5xx/drivers/include/stm32_assert_template.h

   *Wrap define UNUSED with an ifndef
     This will prevent a compiler warning for the case the UNUSED macro
     is already defined elsewhere in the project
     Impacted files:
      drivers/include/stm32l5xx_hal_def.h
     ST Internal Reference: 136825

   See release_note.html from STM32Cube
+362 −52

File changed.

Preview size limit exceeded, changes collapsed.

+15 −5
Changes for stm32cube/stm32l5xx/drivers/include/stm32l5xx_hal_comp.h: 15 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -50,7 +50,8 @@ typedef struct

  uint32_t WindowMode;         /*!< Set window mode of a pair of comparators instances
                                    (2 consecutive instances odd and even COMP<x> and COMP<x+1>).
                                    Note: HAL COMP driver allows to set window mode from any COMP instance of the pair of COMP instances composing window mode.
                                    Note: HAL COMP driver allows to set window mode from any COMP
                                    instance of the pair of COMP instances composing window mode.
                                    This parameter can be a value of @ref COMP_WindowMode */

  uint32_t Mode;               /*!< Set comparator operating mode to adjust power and speed.
@@ -151,15 +152,25 @@ typedef void (*pCOMP_CallbackTypeDef)(COMP_HandleTypeDef *hcomp); /*!< pointer
  * @}
  */


/** @defgroup COMP_WindowMode COMP Window Mode
  * @{
  */
#define COMP_WINDOWMODE_DISABLE                 (0x00000000UL)         /*!< Window mode disable: Comparators instances pair COMP1 and COMP2 are independent */
#define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE)     /*!< Window mode enable: Comparators instances pair COMP1 and COMP2 have their input plus connected together. The common input is COMP1 input plus (COMP2 input plus is no more accessible). */
#define COMP_WINDOWMODE_DISABLE                 (0x00000000UL)            /*!< Window mode disable: Comparators
                                                                               instances pair COMP1 and COMP2 are
                                                                               independent */
#define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE)        /*!< Window mode enable: Comparators instances
                                                                               pair COMP1 and COMP2 have their input
                                                                               plus connected together.
                                                                               The common input is COMP1 input plus
                                                                               (COMP2 input plus is no more accessible).
                                                                               */
/**
  * @}
  */



/** @defgroup COMP_PowerMode COMP power mode
  * @{
  */
@@ -336,7 +347,6 @@ typedef void (*pCOMP_CallbackTypeDef)(COMP_HandleTypeDef *hcomp); /*!< pointer
/** @defgroup COMP_Exti_Management  COMP external interrupt line management
  * @{
  */

/**
  * @brief  Enable the COMP1 EXTI line rising edge trigger.
  * @retval None
@@ -609,7 +619,7 @@ typedef void (*pCOMP_CallbackTypeDef)(COMP_HandleTypeDef *hcomp); /*!< pointer
/* Note: On this STM32 series, comparator input minus parameters are          */
/*       the same on all COMP instances.                                      */
/*       However, comparator instance kept as macro parameter for             */
/*       compatibility with other STM32 families.                             */
/*       compatibility with other STM32 series.                               */
#define IS_COMP_INPUT_MINUS(__COMP_INSTANCE__, __INPUT_MINUS__) (((__INPUT_MINUS__) == COMP_INPUT_MINUS_1_4VREFINT)  || \
                                                                 ((__INPUT_MINUS__) == COMP_INPUT_MINUS_1_2VREFINT)  || \
                                                                 ((__INPUT_MINUS__) == COMP_INPUT_MINUS_3_4VREFINT)  || \
+4 −0
Changes for stm32cube/stm32l5xx/drivers/include/stm32l5xx_hal_cortex.h: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -277,11 +277,15 @@ void HAL_SYSTICK_Callback(void);
#if (__MPU_PRESENT == 1)
void HAL_MPU_Enable(uint32_t MPU_Control);
void HAL_MPU_Disable(void);
void HAL_MPU_EnableRegion(uint32_t RegionNumber);
void HAL_MPU_DisableRegion(uint32_t RegionNumber);
void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_RegionInit);
void HAL_MPU_ConfigMemoryAttributes(MPU_Attributes_InitTypeDef *MPU_AttributesInit);
#ifdef MPU_NS
void HAL_MPU_Enable_NS(uint32_t MPU_Control);
void HAL_MPU_Disable_NS(void);
void HAL_MPU_EnableRegion_NS(uint32_t RegionNumber);
void HAL_MPU_DisableRegion_NS(uint32_t RegionNumber);
void HAL_MPU_ConfigRegion_NS(MPU_Region_InitTypeDef *MPU_RegionInit);
void HAL_MPU_ConfigMemoryAttributes_NS(MPU_Attributes_InitTypeDef *MPU_AttributesInit);
#endif /* MPU_NS */
+1 −1
Changes for stm32cube/stm32l5xx/drivers/include/stm32l5xx_hal_crc.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t
/** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions
  * @{
  */
HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc);
HAL_CRC_StateTypeDef HAL_CRC_GetState(const CRC_HandleTypeDef *hcrc);
/**
  * @}
  */
Loading