[rtems commit] sp20: Fix print buffer size
Sebastian Huber
sebh at rtems.org
Fri Feb 2 14:19:54 UTC 2018
Module: rtems
Branch: master
Commit: c1c71cdfccc12adf8589f9c1934bef834a304c4d
Changeset: http://git.rtems.org/rtems/commit/?id=c1c71cdfccc12adf8589f9c1934bef834a304c4d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Feb 1 13:49:11 2018 +0100
sp20: Fix print buffer size
There were two issues:
1. The buffer size must be divisible by 8 on 64-bit targets
2. It must be large enough to service the begin of start message.
Update #3082.
---
testsuites/sptests/sp20/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c
index 6b63b6a..65d32c9 100644
--- a/testsuites/sptests/sp20/init.c
+++ b/testsuites/sptests/sp20/init.c
@@ -28,9 +28,9 @@
const char rtems_test_name[] = "SP 20";
-#define BUFFER_COUNT 20
+#define BUFFER_COUNT 16
-#define BUFFER_SIZE 100
+#define BUFFER_SIZE 512
static rtems_printer_task_context printer_task;
More information about the vc
mailing list