[rtems commit] libtests/devfs: Inc max dev to support more BSPs

Sebastian Huber sebh at rtems.org
Tue Jan 19 07:38:40 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan 18 09:34:16 2016 +0100

libtests/devfs: Inc max dev to support more BSPs

---

 testsuites/libtests/devfs02/init.c | 3 +++
 testsuites/libtests/devfs04/init.c | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/testsuites/libtests/devfs02/init.c b/testsuites/libtests/devfs02/init.c
index 2dd329c..28ed373 100644
--- a/testsuites/libtests/devfs02/init.c
+++ b/testsuites/libtests/devfs02/init.c
@@ -99,6 +99,9 @@ rtems_task Init(
 
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
 
+/* Make sure that we have enough devices for all BSPs */
+#define CONFIGURE_MAXIMUM_DEVICES 64
+
 #define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
 
 #define CONFIGURE_INIT
diff --git a/testsuites/libtests/devfs04/init.c b/testsuites/libtests/devfs04/init.c
index 42f7977..4db2d9a 100644
--- a/testsuites/libtests/devfs04/init.c
+++ b/testsuites/libtests/devfs04/init.c
@@ -84,7 +84,6 @@ rtems_task Init(
 
 /* include an extra slot for registering the termios one dynamically */
 #define CONFIGURE_MAXIMUM_DRIVERS 3
-#define CONFIGURE_MAXIMUM_DEVICES 10
 
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
 
@@ -93,6 +92,9 @@ rtems_task Init(
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
+/* Make sure that we have enough devices for all BSPs */
+#define CONFIGURE_MAXIMUM_DEVICES 64
+
 #define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
 
 #define CONFIGURE_INIT



More information about the vc mailing list