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