mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:28:32 +08:00
mptests: Fix message queue configuration
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user