From 13c54627e28d3410dc451c60b945d5841637fefb Mon Sep 17 00:00:00 2001 From: Elms Date: Fri, 18 Sep 2020 09:17:32 -0700 Subject: [PATCH] stmcubemx: add flags for STM32F401 --- IDE/STM32Cube/wolfSSL.wolfSSL_conf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IDE/STM32Cube/wolfSSL.wolfSSL_conf.h b/IDE/STM32Cube/wolfSSL.wolfSSL_conf.h index abc0cffd3..c07778e13 100644 --- a/IDE/STM32Cube/wolfSSL.wolfSSL_conf.h +++ b/IDE/STM32Cube/wolfSSL.wolfSSL_conf.h @@ -169,6 +169,11 @@ extern "C" { #define WOLFSSL_STM32F1 #define HAL_CONSOLE_UART huart4 #define NO_STM32_RNG +#elif defined(STM32F401xE) + #define WOLFSSL_STM32F4 + #define HAL_CONSOLE_UART huart2 + #define NO_STM32_RNG + #define WOLFSSL_GENSEED_FORTEST #else #warning Please define a hardware platform! #define WOLFSSL_STM32F4 /* default */