From 93460c01cc3e204e28fc3a56b695e012f730bf73 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 13 Apr 2014 13:17:08 +0200 Subject: [PATCH] RTEMS: actual RTEMS git sources do not provide CONFIGURE_NUMBER_OF_DRIVERS define. 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 --- orte/examples/rtems-shell/system.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orte/examples/rtems-shell/system.h b/orte/examples/rtems-shell/system.h index 31cfa39..b99dd06 100644 --- a/orte/examples/rtems-shell/system.h +++ b/orte/examples/rtems-shell/system.h @@ -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 -- 2.39.2