From 8b517975d1372fa237b75589aa87f2bcdf1f1dcb Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 23 Dec 2020 16:54:29 -0800 Subject: [PATCH] Fixes from peer review. --- IDE/STM32Cube/default_conf.ftl | 6 ++++-- IDE/STM32Cube/wolfSSL_conf.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/IDE/STM32Cube/default_conf.ftl b/IDE/STM32Cube/default_conf.ftl index 777713ac6..3b7cfcadc 100644 --- a/IDE/STM32Cube/default_conf.ftl +++ b/IDE/STM32Cube/default_conf.ftl @@ -129,7 +129,9 @@ extern ${variable.value} ${variable.name}; WOLFSSL_STM32F7, WOLFSSL_STM32H7, WOLFSSL_STM32L4 and WOLFSSL_STM32L5 */ #define WOLFSSL_STM32F4 - /* Debug UART */ + /* Debug UART used for printf */ + /* The UART interface number varies for each board/CPU */ + /* Typically this is the UART attached to the ST-Link USB CDC UART port */ #define HAL_CONSOLE_UART huart4 /* Hardware Crypto - uncomment as available on hardware */ @@ -527,7 +529,7 @@ extern ${variable.value} ${variable.name}; #ifdef __cplusplus } #endif -#endif /*__ ${inclusion_protection}_H */ +#endif /* ${inclusion_protection}_H */ /** * @} diff --git a/IDE/STM32Cube/wolfSSL_conf.h b/IDE/STM32Cube/wolfSSL_conf.h index 98b108927..1f74bb4bc 100644 --- a/IDE/STM32Cube/wolfSSL_conf.h +++ b/IDE/STM32Cube/wolfSSL_conf.h @@ -185,7 +185,9 @@ WOLFSSL_STM32F7, WOLFSSL_STM32H7, WOLFSSL_STM32L4 and WOLFSSL_STM32L5 */ #define WOLFSSL_STM32F4 - /* Debug UART */ + /* Debug UART used for printf */ + /* The UART interface number varies for each board/CPU */ + /* Typically this is the UART attached to the ST-Link USB CDC UART port */ #define HAL_CONSOLE_UART huart4 /* Hardware Crypto - uncomment as available on hardware */ @@ -573,4 +575,4 @@ } #endif -#endif /*__ __WOLFSSL_I_CUBE_WOLFSSL_CONF_H__ */ +#endif /* __WOLFSSL_I_CUBE_WOLFSSL_CONF_H__ */