mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 22:27:21 -04:00
added runtime note to show CoreMark has not been actually compiled
This commit is contained in:
parent
69df88a4ce
commit
9ed7b84d1a
1 changed files with 6 additions and 1 deletions
|
@ -97,7 +97,12 @@ MAIN_RETURN_TYPE main(int argc, char *argv[]) {
|
|||
// -----------------------------------------------
|
||||
// Disable coremark compilation by default
|
||||
#ifndef RUN_COREMARK
|
||||
#warning COREMARK HAS NOT BEEN COMPILED! Use >>make clean compile USER_FLAGS+=-DRUN_COREMARK<< to compile it.
|
||||
#warning COREMARK HAS NOT BEEN COMPILED! Use >>make USER_FLAGS+=-DRUN_COREMARK clean_all compile << to compile it.
|
||||
|
||||
// inform the user if you are actually executing this
|
||||
portable_init(NULL, &argc, argv);
|
||||
ee_printf("ERROR! CoreMark has not been compiled. Use >>make USER_FLAGS+=-DRUN_COREMARK clean_all compile << to compile it.\n");
|
||||
|
||||
return 0;
|
||||
#endif
|
||||
// -----------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue