From 6498091bfbac9680bb889d3068433680630ffc8a Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 14 Mar 2024 07:58:48 +0100 Subject: [PATCH] removes unused file --- hello-world/wrap_stubs.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 hello-world/wrap_stubs.c diff --git a/hello-world/wrap_stubs.c b/hello-world/wrap_stubs.c deleted file mode 100644 index 644e2d8..0000000 --- a/hello-world/wrap_stubs.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "platform.h" - -/* The functions in this file are only meant to support Dhrystone on an - * embedded RV32 system and are obviously incorrect in general. */ - -long time(void) -{ - return get_timer_t1_value(timer) / get_timer_freq(); -} - -// set the number of dhrystone iterations -void __wrap_scanf(const char* fmt, int* n) -{ - *n = 100000000; -}