forked from Imagelibrary/rtems
exclude big samples for SMALL MEMORY BSPs
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user