summaryrefslogtreecommitdiff
path: root/include/watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/watchdog.h')
-rw-r--r--include/watchdog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/watchdog.h b/include/watchdog.h
index 7180259..ac6ba8c 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -31,6 +31,10 @@
# error "Configuration error: CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG can't be used together."
#endif
+#if defined(__ASSEMBLY__) && defined(__NIOS__)
+# error "Configuration error: WATCHDOG_RESET inside assembler not supported for Nios platforms."
+#endif
+
/*
* Hardware watchdog
*/