blob: 8e41199cc3d9a117554272f5802a17db909f33de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# This is a list of toolchains that are supported on this board.
set_board_info target_install {strongarm-elf}
# Load the generic configuration for this board. This will define a
# set of generic routines used by the tool to communicate with the
# board.
load_generic_config "cygmon";
# It needs no multilib flags by default.
process_multilib_options ""
set_board_info compiler "[find_gcc]";
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]";
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]";
# CygMON linker script.
if {[string compare [board_info $board boardtype] "sa1100dp"] == 0} {
set_board_info ldscript "-specs=sa1100dp.specs"
} elseif {[string compare [board_info $board boardtype] "sa1100mm"] == 0} {
set_board_info ldscript "-specs=sa1100mm.specs"
} elseif {[string compare [board_info $board boardtype] "sa-iop"] == 0} {
set_board_info ldscript "-specs=sa-iop.specs"
} elseif {[string compare [board_info $board boardtype] "ebsa-285"] == 0} {
set_board_info ldscript "-specs=ebsa-285.specs"
}
# Standard remote protocol.
set_board_info gdb_protocol "remote";
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah.
set_board_info gdb,noinferiorio 1;
# Or pass arguments.
set_board_info gdb,noargs 1;
set_board_info noargs 1;
# Or do signals.
set_board_info gdb,nosignals 1;
set_board_info shell_prompt "cygmon>"
set_board_info use_gdb_stub 1;
set_board_info use_cygmon 1
|