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:
Joel Sherrill
2008-10-28 21:42:42 +00:00
parent 0e5b446af7
commit 55448ebeea
3 changed files with 9 additions and 2 deletions

View File

@@ -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.

View File

@@ -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>

View File

@@ -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
)