added runtime note to show CoreMark has not been actually compiled

This commit is contained in:
stnolting 2020-08-20 12:07:18 +02:00
parent 69df88a4ce
commit 9ed7b84d1a

View file

@ -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
// -----------------------------------------------