4 #include <system_def.h>
6 /* use expedited response insead of just signal */
7 #define GDB_STATUS_EXPEDITED 1
8 /* fetch MAC from register file */
10 /* support for interrupt mode 2 (unfinished, broken) */
14 /* hardware independend support */
15 #define HW_INDEPENDENT 1
17 /* compile all for ROM, not HDI monitor */
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 */
33 /*#define GDB_SCI_SPEED 115200U*/
34 #define GDB_SCI_SPEED 38400U
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