You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/11/07 13:30:06 UTC

[mynewt-core] 07/07: mcu/mips: Add hal_debug_break implementation

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit c07422feb33fa88644fffa1751375047ebac85eb
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu Nov 7 11:27:57 2019 +0100

    mcu/mips: Add hal_debug_break implementation
---
 hw/mcu/mips/danube/include/mcu/mips.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hw/mcu/mips/danube/include/mcu/mips.h b/hw/mcu/mips/danube/include/mcu/mips.h
index 5cf1b74..529cc1a 100644
--- a/hw/mcu/mips/danube/include/mcu/mips.h
+++ b/hw/mcu/mips/danube/include/mcu/mips.h
@@ -22,4 +22,10 @@
 
 #define OS_TICKS_PER_SEC    (1000)
 
+static inline void
+hal_debug_break(void)
+{
+    __asm ("break");
+}
+
 #endif /* __MCU_MIPS_H__ */