summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index f26b3d7f56..ebeef9c004 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -253,6 +253,11 @@ static inline void cpu_boost_unlock(void)
#define MIN_STACK_ALIGN 8
#endif
+/* Define this if target has support for generating backtraces */
+#ifdef CPU_ARM
+ #define HAVE_RB_BACKTRACE
+#endif
+
#ifndef MIN_STACK_ALIGN
#define MIN_STACK_ALIGN (sizeof (uintptr_t))
#endif