summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/nsecs/system.h
diff options
context:
space:
mode:
authorRalf Corsépius <ralf.corsepius@rtems.org>2012-02-22 09:14:37 +0100
committerRalf Corsépius <ralf.corsepius@rtems.org>2012-02-22 09:33:10 +0100
commit99aebcbc86b557621bdb2991c63a742a2f35c184 (patch)
tree55a9be28decc9ee3279775d8205e9ae9656b06d2 /testsuites/samples/nsecs/system.h
parentPR 2015 - LEON3: make SHM driver configurable using weak (diff)
downloadrtems-99aebcbc86b557621bdb2991c63a742a2f35c184.tar.bz2
2012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* nsecs/system.h: New (Split out from nsecs/init.c). * nsecs/init.c: Reflect nsecs/system.h having been split out. * nsecs/empty.c: Include "system.h".
Diffstat (limited to '')
-rw-r--r--testsuites/samples/nsecs/system.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuites/samples/nsecs/system.h b/testsuites/samples/nsecs/system.h
new file mode 100644
index 0000000000..a9d2ac6c86
--- /dev/null
+++ b/testsuites/samples/nsecs/system.h
@@ -0,0 +1,16 @@
+#ifndef SYSTEM_H
+#define SYSTEM_H
+
+#include <bsp.h> /* for device driver prototypes */
+
+extern void dummy_function_empty_body_to_force_call(void);
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MICROSECONDS_PER_TICK 1000
+#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#include <rtems/confdefs.h>
+#endif