summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/backtrace.h3
-rw-r--r--firmware/export/system.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/backtrace.h b/firmware/export/backtrace.h
index 283e293b2a..fb007ab004 100644
--- a/firmware/export/backtrace.h
+++ b/firmware/export/backtrace.h
@@ -25,6 +25,9 @@
25#ifdef BACKTRACE_UNWARMINDER 25#ifdef BACKTRACE_UNWARMINDER
26#include "backtrace-unwarminder.h" 26#include "backtrace-unwarminder.h"
27#endif 27#endif
28#ifdef BACKTRACE_MIPSUNWINDER
29#include "backtrace-mipsunwinder.h"
30#endif
28 31
29/* Print a backtrace using lcd_* functions, starting at the given line and updating 32/* Print a backtrace using lcd_* functions, starting at the given line and updating
30 * the line number. On targets that support it (typically native targets), the 33 * the line number. On targets that support it (typically native targets), the
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 9558be559a..def3122205 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -258,7 +258,8 @@ static inline void cpu_boost_unlock(void)
258#endif 258#endif
259 259
260/* Define this if target has support for generating backtraces */ 260/* Define this if target has support for generating backtraces */
261#ifdef CPU_ARM 261#if defined(CPU_ARM) || \
262 (defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE))
262 #define HAVE_RB_BACKTRACE 263 #define HAVE_RB_BACKTRACE
263#endif 264#endif
264 265