forked from Imagelibrary/rtems
smp03: Use floating-point tasks
This test uses sprintf().
This commit is contained in:
@@ -80,7 +80,7 @@ rtems_task Init(
|
||||
CONFIGURE_INIT_TASK_PRIORITY + (2*i),
|
||||
RTEMS_MINIMUM_STACK_SIZE,
|
||||
RTEMS_PREEMPT,
|
||||
RTEMS_DEFAULT_ATTRIBUTES,
|
||||
RTEMS_FLOATING_POINT,
|
||||
&id
|
||||
);
|
||||
directive_failed( status, "rtems_task_create" );
|
||||
@@ -100,7 +100,7 @@ rtems_task Init(
|
||||
3,
|
||||
RTEMS_MINIMUM_STACK_SIZE,
|
||||
RTEMS_PREEMPT,
|
||||
RTEMS_DEFAULT_ATTRIBUTES,
|
||||
RTEMS_FLOATING_POINT,
|
||||
&id
|
||||
);
|
||||
directive_failed( status, "rtems_task_create" );
|
||||
|
||||
@@ -37,7 +37,6 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_INIT_TASK_STACK_SIZE \
|
||||
(3 * CONFIGURE_MINIMUM_TASK_STACK_SIZE)
|
||||
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
|
||||
|
||||
#define CONFIGURE_INIT_TASK_PRIORITY 5
|
||||
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT
|
||||
|
||||
Reference in New Issue
Block a user