From c5db8aa5365ceb01f81f9c760aa57d512b4669b9 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 14 Feb 2011 11:46:47 +0800 Subject: initial nxt firmware support hooks --- Debugger/debug_stub.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Debugger/debug_stub.h') diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h index 41044b2..1c47050 100644 --- a/Debugger/debug_stub.h +++ b/Debugger/debug_stub.h @@ -222,6 +222,13 @@ ENUM_END(dbg_msg_errno) */ FUNCDEF void dbg__bkpt_init(void); +#ifndef __NXOS__ +/** Switch Mode to Debugger. + * Used by NXT Firmware only + */ +FUNCDEF UWORD cCommHandleDebug(UBYTE *pInBuf, UBYTE CmdBit, UWORD MsgLength); +#endif + /** Debugger Handler Routine (called by Exception Handler Trap). * Equivalent to GDB handle_exception() routine */ -- cgit v1.2.3