mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 07:12:19 +01:00
Modified settings.h to allow building on KSDK 1.3, modified test.c and benchmark.c to work with KSDK, added KDS project for building wolfSSL for Hexiwear
This commit is contained in:
@@ -52,6 +52,11 @@
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#elif defined(FREESCALE_KSDK_BM)
|
||||
#include "fsl_debug_console.h"
|
||||
#include "fsl_os_abstraction.h"
|
||||
#undef printf
|
||||
#define printf PRINTF
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
@@ -2656,6 +2661,13 @@ void bench_ed25519KeySign(void)
|
||||
return (double)tv.SECONDS + (double)tv.MILLISECONDS / 1000;
|
||||
}
|
||||
|
||||
#elif defined(FREESCALE_KSDK_BM)
|
||||
|
||||
double current_time(int reset)
|
||||
{
|
||||
return (double)OSA_TimeGetMsec() / 1000;
|
||||
}
|
||||
|
||||
#elif defined(WOLFSSL_EMBOS)
|
||||
|
||||
#include "RTOS.h"
|
||||
|
||||
@@ -163,6 +163,10 @@
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#elif defined(FREESCALE_KSDK_BM)
|
||||
#include "fsl_debug_console.h"
|
||||
#undef printf
|
||||
#define printf PRINTF
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user