summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/common/up_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/src/common/up_internal.h')
-rw-r--r--nuttx/arch/sh/src/common/up_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h
index 9241bb0e7..3c708a387 100644
--- a/nuttx/arch/sh/src/common/up_internal.h
+++ b/nuttx/arch/sh/src/common/up_internal.h
@@ -209,6 +209,14 @@ extern void up_usbuninitialize(void);
# define up_usbuninitialize()
#endif
+/* Defined in chip-specific logic */
+
+#ifdef CONFIG_ARCH_STACKDUMP
+extern void up_dumpstate(void);
+#else
+# define up_dumpstate()
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* ___ARCH_SH_SRC_COMMON_UP_INTERNAL_H */