mptests: Fix message queue configuration

This commit is contained in:
Sebastian Huber
2016-03-29 13:21:32 +02:00
parent 349dd6b9cb
commit d4771e615c
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -37,6 +37,8 @@ void Send_messages( void );
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+2
View File
@@ -42,6 +42,8 @@ rtems_task Test_task3(
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
#else
#define CONFIGURE_MAXIMUM_TASKS 4
#endif
+2
View File
@@ -33,6 +33,8 @@ rtems_task Init(
#if ( NODE_NUMBER == 1 )
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
#define CONFIGURE_MAXIMUM_PARTITIONS 1
#endif
+2
View File
@@ -38,6 +38,8 @@ rtems_task Test_task2(
#if ( NODE_NUMBER == 1 )
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
#endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+2
View File
@@ -61,6 +61,8 @@ void Exit_test( void );
#define CONFIGURE_MAXIMUM_TIMERS 12
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 1, 16 )
#define CONFIGURE_MAXIMUM_PARTITIONS 1
#elif ( NODE_NUMBER == 2 )
#define CONFIGURE_MAXIMUM_TIMERS 2