]> rtime.felk.cvut.cz Git - orte.git/commitdiff
RTEMS: actual RTEMS git sources do not provide CONFIGURE_NUMBER_OF_DRIVERS define.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 13 Apr 2014 11:17:08 +0000 (13:17 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 13 Apr 2014 11:17:08 +0000 (13:17 +0200)
There is only one version of table - actual runtime version.
The read-only table with initialization data is not present
and cannot be used for to compute number of entries of config
harcoded drivers set (CONFIGURE_NUMBER_OF_DRIVERS).

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
orte/examples/rtems-shell/system.h

index 31cfa39372b504ea69a476a49bfdd13666d67d86..b99dd06b290c94cad494e0746bdd7867a606a40b 100644 (file)
@@ -69,7 +69,8 @@ rtems_task Init(
 
 #define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS   10
 
-#define CONFIGURE_MAXIMUM_DRIVERS (CONFIGURE_NUMBER_OF_DRIVERS+10)
+/*#define CONFIGURE_MAXIMUM_DRIVERS (CONFIGURE_NUMBER_OF_DRIVERS+10)*/
+#define CONFIGURE_MAXIMUM_DRIVERS                32
 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS        2
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 80