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:
Michael Shihrer
2017-02-24 15:47:28 -07:00
parent 213afe18c3
commit 21d2becd6b
9 changed files with 278 additions and 26 deletions

View File

@@ -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"

View File

@@ -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