changes coremark build system to use BSP

This commit is contained in:
2024-03-24 21:10:19 +01:00
parent 749fab2c01
commit 45b6f24dfc
4 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,7 @@
#include "platform.h"
#ifndef ITERATIONS
#define ITERATIONS 20000
#endif
/* The functions in this file are only meant to support Dhrystone on an
* embedded RV32 system and are obviously incorrect in general. */
@ -11,7 +14,7 @@ long time(void)
// set the number of dhrystone iterations
void __wrap_scanf(const char* fmt, int* n)
{
*n = 20000;
*n = ITERATIONS;
}
extern volatile uint32_t tohost;