[rtems commit] tm26: enable FP context when fprintf used

Daniel Hellstrom danielh at rtems.org
Thu Sep 20 10:59:54 UTC 2018


Module:    rtems
Branch:    master
Commit:    1a2656cd8e7d046ea2d9194e39da0c7b054bb134
Changeset: http://git.rtems.org/rtems/commit/?id=1a2656cd8e7d046ea2d9194e39da0c7b054bb134

Author:    Daniel Hellstrom <daniel at gaisler.com>
Date:      Fri Aug 31 15:34:49 2018 +0200

tm26: enable FP context when fprintf used

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
 




More information about the vc mailing list