Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(u5): update to latest STM32CubeU5 v1.6.0 #2464

Merged
merged 4 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdio.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* HAL raised several warnings, ignore them */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32U5xx
#include "stm32u5xx_hal_sdio.c"
#endif
#pragma GCC diagnostic pop
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ extern "C" {
#define HAL_RTC_MODULE_ENABLED
#define HAL_SAI_MODULE_ENABLED
#define HAL_SD_MODULE_ENABLED
#define HAL_SDIO_MODULE_ENABLED
#define HAL_SMARTCARD_MODULE_ENABLED
#define HAL_SMBUS_MODULE_ENABLED
#define HAL_SPI_MODULE_ENABLED
Expand Down Expand Up @@ -232,6 +233,7 @@ vary depending on the variations in voltage and temperature.*/
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
#define USE_HAL_SDIO_REGISTER_CALLBACKS 0U /* SDIO register callback disabled */
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
Expand All @@ -253,9 +255,11 @@ vary depending on the variations in voltage and temperature.*/
#define USE_SPI_CRC 1U

/* ################## SDMMC peripheral configuration ######################### */

#define USE_SD_TRANSCEIVER 0U

/* ################## SDIO peripheral configuration ########################## */
#define USE_SDIO_TRANSCEIVER 0U
#define SDIO_MAX_IO_NUMBER 7U /*!< SDIO device support maximum IO number */

/* Includes ------------------------------------------------------------------*/
/**
Expand Down Expand Up @@ -402,6 +406,10 @@ vary depending on the variations in voltage and temperature.*/
#include "stm32u5xx_hal_sd.h"
#endif /* HAL_SD_MODULE_ENABLED */

#ifdef HAL_SDIO_MODULE_ENABLED
#include "stm32u5xx_hal_sdio.h"
#endif /* HAL_SDIO_MODULE_ENABLED */

#ifdef HAL_SMBUS_MODULE_ENABLED
#include "stm32u5xx_hal_smbus.h"
#endif /* HAL_SMBUS_MODULE_ENABLED */
Expand Down
3 changes: 3 additions & 0 deletions system/Drivers/STM32U5xx_HAL_Driver/Inc/stm32u5xx_hal_pka.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ typedef struct
PKA_TypeDef *Instance; /*!< Register base address */
__IO HAL_PKA_StateTypeDef State; /*!< PKA state */
__IO uint32_t ErrorCode; /*!< PKA Error code */
__IO uint32_t primeordersize; /*!< Elliptic curve prime order length */
__IO uint32_t opsize; /*!< Modular exponentiation operand length */
__IO uint32_t modulussize; /*!< Elliptic curve modulus length */
#if (USE_HAL_PKA_REGISTER_CALLBACKS == 1)
void (* OperationCpltCallback)(struct __PKA_HandleTypeDef *hpka); /*!< PKA End of operation callback */
void (* ErrorCallback)(struct __PKA_HandleTypeDef *hpka); /*!< PKA Error callback */
Expand Down
Loading
Loading