forked from Imagelibrary/rtems
2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm22/system.h, tm22/task1.c: Account for message buffers used.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* tm22/system.h, tm22/task1.c: Account for message buffers used.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* include/timesys.h: Use inttypes.h.
|
||||
|
||||
@@ -22,6 +22,8 @@ rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
);
|
||||
|
||||
#define MESSAGE_SIZE (sizeof(long) * 4)
|
||||
|
||||
#include <timesys.h>
|
||||
|
||||
/* configuration information */
|
||||
@@ -33,6 +35,9 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 0
|
||||
|
||||
|
||||
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
|
||||
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(100, MESSAGE_SIZE )
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
@@ -29,8 +29,6 @@ rtems_task Preempt_task(
|
||||
rtems_task_argument argument
|
||||
);
|
||||
|
||||
#define MESSAGE_SIZE (sizeof(long) * 4)
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user