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),
|
CONFIGURE_INIT_TASK_PRIORITY + (2*i),
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
RTEMS_MINIMUM_STACK_SIZE,
|
||||||
RTEMS_PREEMPT,
|
RTEMS_PREEMPT,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES,
|
RTEMS_FLOATING_POINT,
|
||||||
&id
|
&id
|
||||||
);
|
);
|
||||||
directive_failed( status, "rtems_task_create" );
|
directive_failed( status, "rtems_task_create" );
|
||||||
@@ -100,7 +100,7 @@ rtems_task Init(
|
|||||||
3,
|
3,
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
RTEMS_MINIMUM_STACK_SIZE,
|
||||||
RTEMS_PREEMPT,
|
RTEMS_PREEMPT,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES,
|
RTEMS_FLOATING_POINT,
|
||||||
&id
|
&id
|
||||||
);
|
);
|
||||||
directive_failed( status, "rtems_task_create" );
|
directive_failed( status, "rtems_task_create" );
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ rtems_task Test_task(
|
|||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||||
#define CONFIGURE_INIT_TASK_STACK_SIZE \
|
#define CONFIGURE_INIT_TASK_STACK_SIZE \
|
||||||
(3 * CONFIGURE_MINIMUM_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_PRIORITY 5
|
||||||
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT
|
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT
|
||||||
|
|||||||
Reference in New Issue
Block a user