Skip to content

Commit

Permalink
coremark: User FLOAT_USER instead of HARDFLOAT
Browse files Browse the repository at this point in the history
Coremark uses float numbers for printing only.
Now default value HAS_FLOAT used FLOAT_USER that tells
tinyprintf to have support for %f instead of checking
if MCU has FPU.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Apr 19, 2024
1 parent d2900b1 commit d802fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/coremark/repo/include/core_portme.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Original Author: Shay Gal-on
Define to 1 if the platform supports floating point.
*/
#ifndef HAS_FLOAT
#define HAS_FLOAT MYNEWT_VAL(HARDFLOAT)
#define HAS_FLOAT MYNEWT_VAL(FLOAT_USER)
#endif
/* Configuration : HAS_TIME_H
Define to 1 if platform has the time.h header file,
Expand Down

0 comments on commit d802fe8

Please sign in to comment.