[rtems commit] capture: Use unlimited objects

Sebastian Huber sebh at rtems.org
Mon Jun 4 05:35:03 UTC 2018


Module:    rtems
Branch:    master
Commit:    75933d5d25cd50f80162b7a0d2f66a5534e1763f
Changeset: http://git.rtems.org/rtems/commit/?id=75933d5d25cd50f80162b7a0d2f66a5534e1763f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun  4 07:33:55 2018 +0200

capture: Use unlimited objects

Avoid resource allocation problems with unlimited objects.

---

 testsuites/samples/capture/system.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/testsuites/samples/capture/system.h b/testsuites/samples/capture/system.h
index d6d8b80..99c15ec 100644
--- a/testsuites/samples/capture/system.h
+++ b/testsuites/samples/capture/system.h
@@ -46,9 +46,8 @@ extern void setup_tasks_to_watch(void);
 
 #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
 
-#define TASK_ALLOCATION_SIZE     (5)
-#define CONFIGURE_MAXIMUM_TASKS  rtems_resource_unlimited(TASK_ALLOCATION_SIZE)
-#define CONFIGURE_EXTRA_TASK_STACKS (75 * RTEMS_MINIMUM_STACK_SIZE)
+#define CONFIGURE_UNIFIED_WORK_AREAS
+#define CONFIGURE_UNLIMITED_OBJECTS
 
 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS (5)
 



More information about the vc mailing list