change log for examples-v2 (2010-05-11)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue May 11 13:10:05 UTC 2010


 *joel*:
2010-05-11	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* main.cc: Do not configure as much when disabling the test for small
	memory targets.

M    1.2  led/complex1/ChangeLog
M    1.3  led/complex1/main.cc

diff -u examples-v2/led/complex1/ChangeLog:1.1 examples-v2/led/complex1/ChangeLog:1.2
--- examples-v2/led/complex1/ChangeLog:1.1	Thu Aug  6 15:25:58 2009
+++ examples-v2/led/complex1/ChangeLog	Tue May 11 07:26:04 2010
@@ -1,3 +1,8 @@
+2010-05-11	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* main.cc: Do not configure as much when disabling the test for small
+	memory targets.
+
 2008-11-26	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* main.cc: Rework to avoid new GCC error:

diff -u examples-v2/led/complex1/main.cc:1.2 examples-v2/led/complex1/main.cc:1.3
--- examples-v2/led/complex1/main.cc:1.2	Thu Apr 29 16:52:00 2010
+++ examples-v2/led/complex1/main.cc	Tue May 11 07:26:04 2010
@@ -45,17 +45,21 @@
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
-#define CONFIGURE_MAXIMUM_TASKS 102
-#define CONFIGURE_MAXIMUM_PERIODS  100
-#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
-#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  2
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
-#define CONFIGURE_EXTRA_TASK_STACKS (32 * 1024)
+#if defined(BSP_SMALL_MEMORY)
+  #define CONFIGURE_MAXIMUM_TASKS 1
+#else
+  #define CONFIGURE_MAXIMUM_TASKS 102
+  #define CONFIGURE_MAXIMUM_PERIODS  100
+  #define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+  #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  2
+  #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
+  #define CONFIGURE_EXTRA_TASK_STACKS (32 * 1024)
 
-#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+  #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+  #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
 
-#define CONFIGURE_STACK_CHECKER_ENABLED
+  #define CONFIGURE_STACK_CHECKER_ENABLED
+#endif
 
 #define CONFIGURE_INIT
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100511/1d21a5d3/attachment.html>


More information about the vc mailing list