[rtems commit] Remove BSP_SMALL_MEMORY BSP option

Sebastian Huber sebh at rtems.org
Fri Nov 15 06:45:57 UTC 2019


Module:    rtems
Branch:    master
Commit:    b882b07e84018ef083d12f1b4020666174f5aae9
Changeset: http://git.rtems.org/rtems/commit/?id=b882b07e84018ef083d12f1b4020666174f5aae9

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 15 07:09:04 2019 +0100

Remove BSP_SMALL_MEMORY BSP option

Use the test state configuration instead.

Update #3818.

---

 c/src/lib/libbsp/arm/lpc176x/configure.ac | 4 ----
 testsuites/libtests/capture01/init.c      | 5 -----
 testsuites/libtests/capture01/test1.c     | 3 ---
 3 files changed, 12 deletions(-)

diff --git a/c/src/lib/libbsp/arm/lpc176x/configure.ac b/c/src/lib/libbsp/arm/lpc176x/configure.ac
index f947955..09f7478 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 1366164..5c6a092 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 c03c08b..f1a2133 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 */



More information about the vc mailing list