summaryrefslogtreecommitdiff
path: root/led
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-29 21:52:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-29 21:52:00 +0000
commit6437b643dc896b58611b5e15bb460603c7017257 (patch)
treee19c9f85bc1e89b375a1f64f13cb741677b51ffd /led
parent5391738c2442d24746ae753421d7bda41617b27b (diff)
2010-04-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* complex1/main.cc, complex1/menu.cc, complex1/periodic.c, complex1/test.cc: Turn off test when BSP_SMALL_MEMORY defined.
Diffstat (limited to 'led')
-rw-r--r--led/ChangeLog5
-rw-r--r--led/complex1/main.cc2
-rw-r--r--led/complex1/menu.cc4
-rw-r--r--led/complex1/periodic.c4
-rw-r--r--led/complex1/test.cc4
5 files changed, 19 insertions, 0 deletions
diff --git a/led/ChangeLog b/led/ChangeLog
index 4f5d1e5..46a1026 100644
--- a/led/ChangeLog
+++ b/led/ChangeLog
@@ -1,5 +1,10 @@
2010-04-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
+ * complex1/main.cc, complex1/menu.cc, complex1/periodic.c,
+ complex1/test.cc: Turn off test when BSP_SMALL_MEMORY defined.
+
+2010-04-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
* complex1/Makefile: Use make-cxx-exe.
2010-04-06 Joel Sherrill <joel.sherrill@oarcorp.com>
diff --git a/led/complex1/main.cc b/led/complex1/main.cc
index 38381f1..4b16346 100644
--- a/led/complex1/main.cc
+++ b/led/complex1/main.cc
@@ -30,7 +30,9 @@ int main(
)
#endif
{
+#if !defined(BSP_SMALL_MEMORY)
doTest();
+#endif
exit( 0 );
}
diff --git a/led/complex1/menu.cc b/led/complex1/menu.cc
index d6918ac..f6c2d0b 100644
--- a/led/complex1/menu.cc
+++ b/led/complex1/menu.cc
@@ -5,6 +5,9 @@
* $Id$
*/
+#include <bsp.h>
+#if !defined(BSP_SMALL_MEMORY)
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -194,3 +197,4 @@ void Test_menu_run(
}
}
+#endif
diff --git a/led/complex1/periodic.c b/led/complex1/periodic.c
index b57e0f0..a68b996 100644
--- a/led/complex1/periodic.c
+++ b/led/complex1/periodic.c
@@ -2,6 +2,9 @@
* $Id$
*/
+#include <bsp.h>
+#if !defined(BSP_SMALL_MEMORY)
+
#if defined(__rtems__)
#include <rtems.h>
#include <stdio.h>
@@ -117,3 +120,4 @@ void PeriodicThreads_Stop(void)
}
#endif
+#endif
diff --git a/led/complex1/test.cc b/led/complex1/test.cc
index 3be1e23..e82e22b 100644
--- a/led/complex1/test.cc
+++ b/led/complex1/test.cc
@@ -2,6 +2,9 @@
// $Id$
//
+#include <bsp.h>
+#if !defined(BSP_SMALL_MEMORY)
+
#include <stdio.h>
#include "ledServer.h"
#include "menu.h"
@@ -236,3 +239,4 @@ void doTest(void)
delete led;
}
+#endif