diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2010-03-29 11:30:49 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2010-03-29 11:30:49 +0000 |
commit | cdf44d93dac5af5ce283cf1a4df825164a4210a3 (patch) | |
tree | da0002e4322fd55b54925cea73866b584e033fdf /testsuites/samples/capture | |
parent | Regenerate. (diff) | |
download | rtems-cdf44d93dac5af5ce283cf1a4df825164a4210a3.tar.bz2 |
exclude big samples for SMALL MEMORY BSPs
Diffstat (limited to 'testsuites/samples/capture')
-rw-r--r-- | testsuites/samples/capture/init.c | 13 | ||||
-rw-r--r-- | testsuites/samples/capture/test1.c | 2 |
2 files changed, 6 insertions, 9 deletions
diff --git a/testsuites/samples/capture/init.c b/testsuites/samples/capture/init.c index fedf29ac91..dd6597ca7f 100644 --- a/testsuites/samples/capture/init.c +++ b/testsuites/samples/capture/init.c @@ -36,6 +36,9 @@ rtems_task Init( rtems_task_argument ignored ) { +#if BSP_SMALL_MEMORY + printf("NO Capture Engine. MEMORY TOO SMALL"); +#else rtems_task_priority old_priority; rtems_mode old_mode; rtems_event_set out; @@ -59,13 +62,5 @@ rtems_task Init( setup_tasks_to_watch (); rtems_task_delete (RTEMS_SELF); - - printf( "\nblocking main\n" ); - - rtems_event_receive (RTEMS_EVENT_1, RTEMS_WAIT | RTEMS_EVENT_ANY, - 0, &out); - - printf( "\n*** END OF UNLIMITED TASK TEST ***\n" ); - exit( 0 ); +#endif } - diff --git a/testsuites/samples/capture/test1.c b/testsuites/samples/capture/test1.c index a451ee57b0..a3ce4e274e 100644 --- a/testsuites/samples/capture/test1.c +++ b/testsuites/samples/capture/test1.c @@ -24,6 +24,7 @@ #include <rtems.h> #include <rtems/monitor.h> +#if !BSP_SMALL_MEMORY static volatile int capture_CT1a_deleted; static volatile int capture_CT1b_deleted; static volatile int capture_CT1c_deleted; @@ -268,3 +269,4 @@ void setup_tasks_to_watch (void) cmd++) rtems_monitor_insert_cmd (&capture_cmds[cmd]); } +#endif /* BSP_SMALL_MEMORY */ |