summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-15 07:09:04 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-15 07:45:30 +0100
commitb882b07e84018ef083d12f1b4020666174f5aae9 (patch)
treeb8e5fab86e3438f9d4022d09e8d6744a0d84b100
parent9c601b00d770009240c2e8043850728c77c5c248 (diff)
downloadrtems-b882b07e84018ef083d12f1b4020666174f5aae9.tar.bz2
Remove BSP_SMALL_MEMORY BSP option
Use the test state configuration instead. Update #3818.
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/configure.ac4
-rw-r--r--testsuites/libtests/capture01/init.c5
-rw-r--r--testsuites/libtests/capture01/test1.c3
3 files changed, 0 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/arm/lpc176x/configure.ac b/c/src/lib/libbsp/arm/lpc176x/configure.ac
index f947955bc9..09f7478a65 100644
--- a/c/src/lib/libbsp/arm/lpc176x/configure.ac
+++ b/c/src/lib/libbsp/arm/lpc176x/configure.ac
@@ -26,10 +26,6 @@ RTEMS_BSPOPTS_SET([BSP_MINIMUM_TASK_STACK_SIZE],[*],[1024])
RTEMS_BSPOPTS_HELP([BSP_MINIMUM_TASK_STACK_SIZE],[Suggested minimum task stack
size in bytes])
-RTEMS_BSPOPTS_SET([BSP_SMALL_MEMORY],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_SMALL_MEMORY],[disable testsuite
- samples with high memory demands])
-
RTEMS_BSPOPTS_SET([LPC176X_OSCILLATOR_MAIN],[*],[12000000U])
RTEMS_BSPOPTS_HELP([LPC176X_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
diff --git a/testsuites/libtests/capture01/init.c b/testsuites/libtests/capture01/init.c
index 1366164dae..5c6a092ef2 100644
--- a/testsuites/libtests/capture01/init.c
+++ b/testsuites/libtests/capture01/init.c
@@ -39,9 +39,6 @@ rtems_task Init(
rtems_task_argument ignored
)
{
-#if BSP_SMALL_MEMORY
- printf("NO Capture Engine. MEMORY TOO SMALL");
-#else
rtems_status_code sc;
rtems_task_priority old_priority;
rtems_mode old_mode;
@@ -91,6 +88,4 @@ rtems_task Init(
TEST_END();
exit( 0 );
-
-#endif
}
diff --git a/testsuites/libtests/capture01/test1.c b/testsuites/libtests/capture01/test1.c
index c03c08bcd1..f1a2133d6b 100644
--- a/testsuites/libtests/capture01/test1.c
+++ b/testsuites/libtests/capture01/test1.c
@@ -25,7 +25,6 @@
#include <rtems.h>
-#if !BSP_SMALL_MEMORY
static volatile int capture_CT1a_deleted;
static volatile int capture_CT1b_deleted;
static volatile int capture_CT1c_deleted;
@@ -234,5 +233,3 @@ void capture_test_1 ()
printf ("error: Test 1: deleting the mutex: %s\n", rtems_status_text (sc));
}
-
-#endif /* BSP_SMALL_MEMORY */