We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231c07b commit 299a964Copy full SHA for 299a964
2 files changed
RT1060/common.c
@@ -23,6 +23,14 @@ void SysTick_Handler(void)
23
g_systickCounter++;
24
}
25
26
+/* benchmark.c's generic branch calls clock_gettime, which this board has no
27
+ * implementation for; WOLFSSL_USER_CURRTIME routes it here instead. */
28
+double current_time(int reset)
29
+{
30
+ (void)reset;
31
+ return (double)g_systickCounter / 1000.0;
32
+}
33
+
34
int32_t cust_rand_generate_block(uint8_t *rndb, uint32_t sz)
35
{
36
status_t status;
RT1060/user_settings.h
@@ -34,6 +34,7 @@
#define WOLFCRYPT_ONLY
#define SIZEOF_LONG_LONG 8
#define BENCH_EMBEDDED
37
+#define WOLFSSL_USER_CURRTIME
38
#define NO_WOLFSSL_MEMORY
39
40
int32_t cust_rand_generate_block(uint8_t *rndb, uint32_t sz);
0 commit comments