This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 17f3a5952 coremark: User FLOAT_USER instead of HARDFLOAT
17f3a5952 is described below

commit 17f3a595204bb88c0f0f06e4b86f8803ac44e8c4
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Fri Apr 19 14:33:34 2024 +0200

    coremark: User FLOAT_USER instead of HARDFLOAT
    
    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 <[email protected]>
---
 util/coremark/repo/include/core_portme.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/coremark/repo/include/core_portme.h 
b/util/coremark/repo/include/core_portme.h
index 4d0f03825..6b1584419 100644
--- a/util/coremark/repo/include/core_portme.h
+++ b/util/coremark/repo/include/core_portme.h
@@ -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,

Reply via email to