[PATCH] libmisc: More useful default configuration
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Dec 2 10:11:26 UTC 2014
The dummy.c is a de-facto default configuration so use unlimited objects
and the stack checker. This makes it easier for new RTEMS users which
will likely use this file if they just work with the usual main()
function as the application entry point.
---
cpukit/libmisc/dummy/dummy.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cpukit/libmisc/dummy/dummy.c b/cpukit/libmisc/dummy/dummy.c
index 839a556..140ffcf 100644
--- a/cpukit/libmisc/dummy/dummy.c
+++ b/cpukit/libmisc/dummy/dummy.c
@@ -21,7 +21,9 @@ int main( int, char **, char **);
/* This is enough to get a basic main() up. */
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_MAXIMUM_TASKS 10
+#define CONFIGURE_UNIFIED_WORK_AREAS
+#define CONFIGURE_UNLIMITED_OBJECTS
+#define CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_INIT_TASK_ENTRY_POINT (void *)main
--
1.8.4.5
More information about the devel
mailing list