summaryrefslogtreecommitdiff
path: root/include/bsp/watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsp/watchdog.h')
-rw-r--r--include/bsp/watchdog.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/bsp/watchdog.h b/include/bsp/watchdog.h
new file mode 100644
index 0000000000..8cb9563530
--- /dev/null
+++ b/include/bsp/watchdog.h
@@ -0,0 +1,18 @@
+#if defined(HEADER_WARNING)
+#warning "This header should not be included directly."
+#endif
+
+
+#if defined(__rtems_arm_lpc1768_mbed__)
+# include <arm/lpc1768_mbed/bsp/watchdog.h>
+#elif defined(__rtems_arm_lpc1768_mbed_ahb_ram__)
+# include <arm/lpc1768_mbed_ahb_ram/bsp/watchdog.h>
+#elif defined(__rtems_arm_lpc1768_mbed_ahb_ram_eth__)
+# include <arm/lpc1768_mbed_ahb_ram_eth/bsp/watchdog.h>
+#elif defined(__rtems_sparc_leon3__)
+# include <sparc/leon3/bsp/watchdog.h>
+#elif defined(__rtems_sparc_ngmp__)
+# include <sparc/ngmp/bsp/watchdog.h>
+#else
+# error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
+#endif