[examples-v2 commit] led/msg_server/init.c: Account for message buffers in configuration.
Joel Sherrill
joel at rtems.org
Sun Aug 7 17:19:39 UTC 2016
Module: examples-v2
Branch: master
Commit: aec2d18bc942a2568903398e42d94e589396912b
Changeset: http://git.rtems.org/examples-v2/commit/?id=aec2d18bc942a2568903398e42d94e589396912b
Author: Joel Sherrill <joel at rtems.org>
Date: Sun Aug 7 12:17:13 2016 -0500
led/msg_server/init.c: Account for message buffers in configuration.
---
led/msg_server/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/led/msg_server/init.c b/led/msg_server/init.c
index 4974dea..61d2fb2 100644
--- a/led/msg_server/init.c
+++ b/led/msg_server/init.c
@@ -90,6 +90,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+ CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(1, sizeof(uint32_t))
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
More information about the vc
mailing list