]> rtime.felk.cvut.cz Git - sysless.git/blob - arch/h8300/generic/libs/gdbstub/h8s-2633-defs.h
It is possible to compile gdb-stub under omk now.
[sysless.git] / arch / h8300 / generic / libs / gdbstub / h8s-2633-defs.h
1 #ifndef H8S_2633_DEFS
2 #define H8S_2633_DEFS
3
4 #include <system_def.h>
5
6 /* use expedited response insead of just signal */
7 #define GDB_STATUS_EXPEDITED 1
8 /* fetch MAC from register file */
9 #define USE_MAC 1
10 /* support for interrupt mode 2 (unfinished, broken) */
11 #define USE_EXR 0
12 /* _USE_EXR_LEVELS */
13
14 /* hardware independend support */
15 #define HW_INDEPENDENT 1
16
17 /* compile all for ROM, not HDI monitor */
18 #define GDB_IN_ROM 1
19
20 /* compile in breakpoint support (SW breakpoints) */
21 #define USE_BREAKPOINTS 1
22 /* number of allocated breakpoints, HW+SW */
23 #define MAX_BREAKPOINTS 16
24 /* compile in support for PBC (hw breakpoints + watchpoints) */
25 #define USE_HW_BREAKPOINTS 1
26 /* support for patching stub with hooks */
27 /*#define GDB_HOOK_SUPPORT 1*/
28 #define GDB_HOOK_SUPPORT 0
29 /* serial port to talk to gdb */
30 /*#define GDB_SCI_PORT 4 */     /* RS232/485 */
31 #define GDB_SCI_PORT 1          /* IRDA */
32 /* serial speed */
33 /*#define GDB_SCI_SPEED 115200U*/
34 #define GDB_SCI_SPEED 38400U
35 /* clock speed */
36 /*#define TARGET_CLOCK_HZ 18432000.0*/
37 //#define TARGET_CLOCK_HZ 12000000 /*CPU_SYS_HZ*/
38 //#define TARGET_CLOCK_HZ 11059200 /*CPU_SYS_HZ*/
39 #define TARGET_CLOCK_HZ CPU_SYS_HZ
40
41 #endif
42
43