forked from Imagelibrary/rtems
Remove BSP_SMALL_MEMORY BSP option
Use the test state configuration instead. Update #3818.
This commit is contained in:
@@ -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])
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user