Commit ced9e239 authored by Мирошниченко Лев Игоревич's avatar Мирошниченко Лев Игоревич
Browse files

Add coremark configuration changes

parent 31556397
No related merge requests found
Showing with 7 additions and 2 deletions
+7 -2
......@@ -20,6 +20,7 @@ FEATURES_REQUIRED += periph_timer
FEATURES_REQUIRED += periph_gpio_irq
USEMODULE += ztimer
USEMODULE += ztimer_usec
USEMODULE += ztimer_sec
USEMODULE += periph_gpio
CFLAGS += -DMAIN_HAS_NOARGC -w
......
......@@ -21,6 +21,7 @@ Original Author: Shay Gal-on
initial parameters, tun t he benchmark and report the results.
*/
#include "coremark.h"
#include "ztimer.h"
/* Function: iterate
Run the benchmark for a specified number of iterations.
......@@ -390,5 +391,8 @@ for (i = 0; i < MULTITHREAD; i++) {
/* And last call any target specific code for finalizing */
portable_fini(&(results[0].port));
for (;;) {
ztimer_sleep(ZTIMER_SEC, 1);
}
return MAIN_RETURN_VAL;
}
......@@ -73,7 +73,7 @@ Original Author: Shay Gal-on
#define COMPILER_FLAGS "-O2"
#endif
#ifndef MEM_LOCATION
#define MEM_LOCATION "STACK"
#define MEM_LOCATION "STATIC"
#endif
/* Data Types :
......@@ -127,7 +127,7 @@ typedef ee_u32 CORE_TICKS;
MEM_STACK - to allocate the data block on the stack (NYI).
*/
#ifndef MEM_METHOD
#define MEM_METHOD MEM_STACK
#define MEM_METHOD MEM_STATIC
#endif
/* Configuration : MULTITHREAD
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment