NetBurner 3.5.6
PDF Version
cortex-m7/include/NetworkDebug.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
5
#ifndef NETWORKDEBUG_H
6
#define NETWORKDEBUG_H
7
8
void
InitializeNetworkGDB();
9
void
InitializeNetworkGDB_and_Wait();
10
extern
volatile
bool
bDebuggerInitialized;
11
extern
volatile
bool
bHaltWithoutConnection;
12
13
#define BREAKPOINT() asm("bkpt");
14
15
class
dbip_obj
16
{
17
const
char
*cp;
18
19
public
:
20
dbip_obj(
const
char
*x);
21
};
22
23
#define DebugIP(x) static dbip_obj dbip_obj1(x);
24
#define DebugRebootOnTrap() static dbip_obj dbip_obj2("RT");
25
#define DebugRebootOnDisconnect() static dbip_obj dbip_obj3("RD");
26
#define DebugNormalArp() static dbip_obj dbip_obj4("A");
27
28
#endif
/* ----- #ifndef NETWORKDEBUG_H ----- */