[PATCH] tm26: enable FP context when fprintf used

Daniel Hellstrom daniel at gaisler.com
Wed Sep 19 14:13:33 UTC 2018


calling rtems_print_printer_fprintf_putc() results in usage of vfprintf()
which may use floating point instructions in its implementation.
---
 testsuites/tmtests/tm26/system.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuites/tmtests/tm26/system.h b/testsuites/tmtests/tm26/system.h
index e41afc9..961a992 100644
--- a/testsuites/tmtests/tm26/system.h
+++ b/testsuites/tmtests/tm26/system.h
@@ -31,6 +31,7 @@ rtems_task Init(
 #define CONFIGURE_TICKS_PER_TIMESLICE        0
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_ATTRIBUTES       RTEMS_FLOATING_POINT
 
 #define CONFIGURE_SCHEDULER_PRIORITY
 
-- 
2.7.4



More information about the devel mailing list