Add support for STM32U575xx boards.

pull/4729/head
Anthony Hu 2022-01-06 15:40:45 -05:00
parent d21105b3ca
commit f3e1e8c155
2 changed files with 8 additions and 2 deletions

View File

@ -128,6 +128,10 @@ extern ${variable.value} ${variable.name};
#define HAL_CONSOLE_UART huart2
#define NO_STM32_RNG
#define WOLFSSL_GENSEED_FORTEST
#elif defined(STM32U575xx)
#define HAL_CONSOLE_UART huart1
#define WOLFSSL_STM32U5
#define STM32_HAL_V2
#else
#warning Please define a hardware platform!
/* This means there is not a pre-defined platform for your board/CPU */

View File

@ -1295,7 +1295,7 @@ extern void uITRON4_free(void *p) ;
defined(WOLFSSL_STM32F7) || defined(WOLFSSL_STM32F1) || \
defined(WOLFSSL_STM32L4) || defined(WOLFSSL_STM32L5) || \
defined(WOLFSSL_STM32WB) || defined(WOLFSSL_STM32H7) || \
defined(WOLFSSL_STM32G0)
defined(WOLFSSL_STM32G0) || defined(WOLFSSL_STM32U5)
#define SIZEOF_LONG_LONG 8
#ifndef CHAR_BIT
@ -1350,6 +1350,8 @@ extern void uITRON4_free(void *p) ;
#include "stm32wbxx_hal.h"
#elif defined(WOLFSSL_STM32G0)
#include "stm32g0xx_hal.h"
#elif defined(WOLFSSL_STM32U5)
#include "stm32u5xx_hal.h"
#endif
#if defined(WOLFSSL_CUBEMX_USE_LL) && defined(WOLFSSL_STM32L4)
#include "stm32l4xx_ll_rng.h"
@ -1401,7 +1403,7 @@ extern void uITRON4_free(void *p) ;
#endif /* WOLFSSL_STM32_CUBEMX */
#endif /* WOLFSSL_STM32F2 || WOLFSSL_STM32F4 || WOLFSSL_STM32L4 ||
WOLFSSL_STM32L5 || WOLFSSL_STM32F7 || WOLFSSL_STMWB ||
WOLFSSL_STM32H7 || WOLFSSL_STM32G0 */
WOLFSSL_STM32H7 || WOLFSSL_STM32G0 || WOLFSSL_STM32U5 */
#ifdef WOLFSSL_DEOS
#include <deos.h>
#include <timeout.h>