From a87fe3fce57c82c07056f86455c4384d66394edf Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Thu, 2 May 2024 16:33:43 -0600 Subject: [PATCH] Updates to STM32Cube Pack --- ide/STM32CUBE/default_conf.ftl | 3 +-- ide/STM32CUBE/wolfssh_test.c | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ide/STM32CUBE/default_conf.ftl b/ide/STM32CUBE/default_conf.ftl index 0de5bf134..78e70f564 100644 --- a/ide/STM32CUBE/default_conf.ftl +++ b/ide/STM32CUBE/default_conf.ftl @@ -106,6 +106,7 @@ extern ${variable.value} ${variable.name}; #define WOLFSSH_LOG_PRINTF #define WOLFSSL_LOG_PRINTF #define fprintf(err, ... ) printf(__VA_ARGS__) +#define WFFLUSH fflush #define BENCH_EMBEDDED #define NO_WRITEV @@ -138,8 +139,6 @@ extern ${variable.value} ${variable.name}; #define HAVE_AESGCM #define WOLFSSL_SHA512 #define HAVE_ECC -#define HAVE_CURVE25519 -#define CURVE25519_SMALL #define HAVE_ED25519 #define WOLFSSH_IGNORE_FILE_WARN diff --git a/ide/STM32CUBE/wolfssh_test.c b/ide/STM32CUBE/wolfssh_test.c index 60459a88a..1090dff5e 100644 --- a/ide/STM32CUBE/wolfssh_test.c +++ b/ide/STM32CUBE/wolfssh_test.c @@ -47,8 +47,10 @@ void wolfSSHTest(const void* argument) printf("Running wolfSSH Tests...\n"); - if (wolfSSH_TestsuiteTest(0, NULL)) - ret = -1; + /* TODO: Uncomment once proper threading abstractions have been implemented + * in wolfSSL */ + /* if (wolfSSH_TestsuiteTest(0, NULL)) + ret = -1; */ if (wolfSSH_UnitTest(0, NULL)) ret = -1; if (wolfSSH_ApiTest(0, NULL))