diff options
Diffstat (limited to 'testsuites/samples/cdtest')
-rw-r--r-- | testsuites/samples/cdtest/Makefile.am | 2 | ||||
-rw-r--r-- | testsuites/samples/cdtest/init.c | 2 | ||||
-rw-r--r-- | testsuites/samples/cdtest/system.h | 14 |
3 files changed, 7 insertions, 11 deletions
diff --git a/testsuites/samples/cdtest/Makefile.am b/testsuites/samples/cdtest/Makefile.am index 0bdf792c92..309974bb4f 100644 --- a/testsuites/samples/cdtest/Makefile.am +++ b/testsuites/samples/cdtest/Makefile.am @@ -26,8 +26,6 @@ OBJS = $(C_O_FILES) $(CC_O_FILES) PRINT_SRCS = $(DOCS) -PGM = ${ARCH}/$(SAMPLE).exe - include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg include $(top_srcdir)/sample.am diff --git a/testsuites/samples/cdtest/init.c b/testsuites/samples/cdtest/init.c index 807cd9e5ab..1df5302b50 100644 --- a/testsuites/samples/cdtest/init.c +++ b/testsuites/samples/cdtest/init.c @@ -20,6 +20,6 @@ * $Id$ */ -#define TEST_INIT +#define CONFIGURE_INIT #include "system.h" #include <stdio.h> 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 */ |