On 2013-09-09 21:30, Joel Sherrill wrote:
+/**
+ * The CONFIGURE_MAXIMUM_DRIVERS parameter is obsolete.
+ * Users should use the CONFIGURE_MAXIMUM_DYNAMIC_DRIVERS
+ * to specify the number of dynamically installed drivers.
+ */
+#ifdef CONFIGURE_MAXIMUM_DRIVERS
+  #error "CONFIGURE_MAXIMUM_DRIVERS is obsolete. Use 
CONFIGURE_MAXIMUM_DYNAMIC_DRIVERS instead"
+#endif

I wouldn't break all existing configurations this way. I think its only an error if the application defines CONFIGURE_MAXIMUM_DRIVERS and CONFIGURE_MAXIMUM_DYNAMIC_DRIVERS at once. It is also an error if CONFIGURE_MAXIMUM_DRIVERS < CONFIGURE_NUMBER_OF_STATIC_DRIVERS.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : [email protected]
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to