Skip to content

Commit 2b7bda2

Browse files
gautierg-sterwango
authored andcommitted
stm32cube: update stm32u5 to cube version V1.6.0
Update Cube version for STM32U5xx series on https://github.com/STMicroelectronics from version v1.5.0 to version v1.6.0 Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 064bc4b commit 2b7bda2

25 files changed

+4604
-244
lines changed

stm32cube/stm32u5xx/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32u5xx_hal_
6969
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32u5xx_hal_sai_ex.c)
7070
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32u5xx_hal_sd.c)
7171
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD_EX drivers/src/stm32u5xx_hal_sd_ex.c)
72+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SDIO drivers/src/stm32u5xx_hal_sdio.c)
7273
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32u5xx_hal_smartcard.c)
7374
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32u5xx_hal_smartcard_ex.c)
7475
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32u5xx_hal_smbus.c)

stm32cube/stm32u5xx/README

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Origin:
66
http://www.st.com/en/embedded-software/stm32cubeu5.html
77

88
Status:
9-
version v1.5.0
9+
version v1.6.0
1010

1111
Purpose:
1212
ST Microelectronics official MCU package for STM32U5 series.
@@ -23,7 +23,7 @@ URL:
2323
https://github.com/STMicroelectronics/STM32CubeU5
2424

2525
Commit:
26-
5ad32958b27c2d447a9438503efa6c2d0ccd8030
26+
6591004477fdd8fba04573c0373679f2be0da595
2727

2828
Maintained-by:
2929
External
@@ -44,11 +44,6 @@ Patch List:
4444
-Added stm32cube/stm32u5xx/drivers/include/stm32_assert.h
4545
-Removed unused stm32cube/stm32u5xx/drivers/include/stm32_assert_template.h
4646

47-
*Fix GFXTIM HAL: Compilation issue
48-
-"#if defined (GFXTIM)" is missing from drivers/include/stm32u5xx_hal_gfxtim.h
49-
Impacted files: drivers/include/stm32u5xx_hal_gfxtim.h
50-
Internal reference: 157095
51-
5247
*Fix to remove PAGESIZE definition which conflicts with POSIX
5348
Impacted files:
5449
drivers/include/Legacy/stm32_hal_legacy.h

stm32cube/stm32u5xx/drivers/include/stm32u5xx_hal_conf.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ extern "C" {
8181
#define HAL_RTC_MODULE_ENABLED
8282
#define HAL_SAI_MODULE_ENABLED
8383
#define HAL_SD_MODULE_ENABLED
84+
#define HAL_SDIO_MODULE_ENABLED
8485
#define HAL_SMARTCARD_MODULE_ENABLED
8586
#define HAL_SMBUS_MODULE_ENABLED
8687
#define HAL_SPI_MODULE_ENABLED
@@ -227,6 +228,7 @@ vary depending on the variations in voltage and temperature.*/
227228
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
228229
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
229230
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
231+
#define USE_HAL_SDIO_REGISTER_CALLBACKS 0U /* SDIO register callback disabled */
230232
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
231233
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
232234
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
@@ -248,9 +250,11 @@ vary depending on the variations in voltage and temperature.*/
248250
#define USE_SPI_CRC 1U
249251

250252
/* ################## SDMMC peripheral configuration ######################### */
251-
252253
#define USE_SD_TRANSCEIVER 0U
253254

255+
/* ################## SDIO peripheral configuration ########################## */
256+
#define USE_SDIO_TRANSCEIVER 0U
257+
#define SDIO_MAX_IO_NUMBER 7U /*!< SDIO device support maximum IO number */
254258

255259
/* Includes ------------------------------------------------------------------*/
256260
/**
@@ -397,6 +401,10 @@ vary depending on the variations in voltage and temperature.*/
397401
#include "stm32u5xx_hal_sd.h"
398402
#endif /* HAL_SD_MODULE_ENABLED */
399403

404+
#ifdef HAL_SDIO_MODULE_ENABLED
405+
#include "stm32u5xx_hal_sdio.h"
406+
#endif /* HAL_SDIO_MODULE_ENABLED */
407+
400408
#ifdef HAL_SMBUS_MODULE_ENABLED
401409
#include "stm32u5xx_hal_smbus.h"
402410
#endif /* HAL_SMBUS_MODULE_ENABLED */

stm32cube/stm32u5xx/drivers/include/stm32u5xx_hal_pka.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ typedef struct
107107
PKA_TypeDef *Instance; /*!< Register base address */
108108
__IO HAL_PKA_StateTypeDef State; /*!< PKA state */
109109
__IO uint32_t ErrorCode; /*!< PKA Error code */
110+
__IO uint32_t primeordersize; /*!< Elliptic curve prime order length */
111+
__IO uint32_t opsize; /*!< Modular exponentiation operand length */
112+
__IO uint32_t modulussize; /*!< Elliptic curve modulus length */
110113
#if (USE_HAL_PKA_REGISTER_CALLBACKS == 1)
111114
void (* OperationCpltCallback)(struct __PKA_HandleTypeDef *hpka); /*!< PKA End of operation callback */
112115
void (* ErrorCallback)(struct __PKA_HandleTypeDef *hpka); /*!< PKA Error callback */

0 commit comments

Comments
 (0)