4 |
# Load the generic configuration for this board. This will define a |
# Load the generic configuration for this board. This will define a |
5 |
# set of generic routines used by the tool to communicate with the |
# set of generic routines used by the tool to communicate with the |
6 |
# board. |
# board. |
7 |
load_generic_config "mn10300-eval"; |
load_generic_config "mn10300-eval" |
8 |
|
|
9 |
# It needs no multilib flags by default. |
# It needs no multilib flags by default. |
10 |
process_multilib_options "" |
process_multilib_options "" |
11 |
|
|
12 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
13 |
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; |
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" |
14 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" |
15 |
|
|
16 |
# CygMON linker script. |
# CygMON linker script. |
17 |
set_board_info ldscript "-Teval.ld" |
set_board_info ldscript "-Teval.ld" |
18 |
|
|
19 |
if {[string compare [board_info $board boardtype] "asb2303"] == 0} { |
if {[string compare [board_info $board boardtype] "asb2303"] == 0} { |
20 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags] -mno-crt0 -mam33-2"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags] -mno-crt0 -mam33-2" |
21 |
set_board_info ldscript "-mam33-2 -Tasb2303.ld" |
set_board_info ldscript "-mam33-2 -Tasb2303.ld" |
22 |
} |
} |
23 |
|
|
24 |
|
|
25 |
# Standard remote protocol. |
# Standard remote protocol. |
26 |
set_board_info gdb_protocol "remote"; |
set_board_info gdb_protocol "remote" |
27 |
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah. |
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah. |
28 |
set_board_info gdb,noinferiorio 1; |
set_board_info gdb,noinferiorio 1 |
29 |
# Or pass arguments. |
# Or pass arguments. |
30 |
set_board_info gdb,noargs 1; |
set_board_info gdb,noargs 1 |
31 |
set_board_info noargs 1; |
set_board_info noargs 1 |
32 |
# Or do signals. |
# Or do signals. |
33 |
set_board_info gdb,nosignals 1; |
set_board_info gdb,nosignals 1 |
34 |
|
|
35 |
set_board_info shell_prompt "cygmon>" |
set_board_info shell_prompt "cygmon>" |
36 |
|
|
37 |
|
|
38 |
set_board_info use_gdb_stub 1; |
set_board_info use_gdb_stub 1 |