summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/cdtest/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/cdtest/system.h')
-rw-r--r--testsuites/samples/cdtest/system.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/testsuites/samples/cdtest/system.h b/testsuites/samples/cdtest/system.h
index 234651fc69..557f3fea8c 100644
--- a/testsuites/samples/cdtest/system.h
+++ b/testsuites/samples/cdtest/system.h
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <tmacros.h>
+#include <rtems.h>
/* functions */
@@ -23,10 +23,12 @@ rtems_task main_task(
/* configuration information */
-#define CONFIGURE_SPTEST
+#include <bsp.h> /* for device driver prototypes */
-#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
-#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
@@ -34,8 +36,4 @@ rtems_task main_task(
#include <confdefs.h>
-/* global variables */
-
-TEST_EXTERN rtems_id Global_variable; /* example global variable */
-
/* end of include file */