URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
# Load the tool-specific configuration for this board, as well as the
|
2 |
|
|
# generic configuration. This will define any routines needed by the
|
3 |
|
|
# tool to communicate with the board.
|
4 |
|
|
load_generic_config "proelf";
|
5 |
|
|
|
6 |
|
|
# GDB needs to use "target op50n" to talk to the board.
|
7 |
|
|
set_board_info gdb_protocol "op50n";
|
8 |
|
|
|
9 |
|
|
if ![board_info $board exists output_format] {
|
10 |
|
|
set tempfil [lookfor_file $tool_root_dir binutils/objcopy];
|
11 |
|
|
if { $tempfil != "" } {
|
12 |
|
|
set_board_info objcopy $tempfil
|
13 |
|
|
} else {
|
14 |
|
|
set_board_info objcopy [transform objcopy]
|
15 |
|
|
}
|
16 |
|
|
unset tempfil
|
17 |
|
|
}
|
18 |
|
|
|
19 |
|
|
# The compiler used to build for this board. This has *nothing* to do
|
20 |
|
|
# with what compiler is tested if we're testing gcc.
|
21 |
|
|
set_board_info compiler "[find_gcc]";
|
22 |
|
|
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]";
|
23 |
|
|
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]";
|
24 |
|
|
# It's an op50n board.
|
25 |
|
|
set_board_info ldscript "-Wl,-Top50n.ld";
|
26 |
|
|
# The proelf interface has no way to return status information, so we
|
27 |
|
|
# need to indicate this.
|
28 |
|
|
set_board_info needs_status_wrapper 1;
|
29 |
|
|
|
30 |
|
|
# No support for signals.
|
31 |
|
|
set_board_info gdb,nosignals 1;
|
32 |
|
|
# Nor can we do I/O.
|
33 |
|
|
set_board_info gdb,noinferiorio 1;
|
34 |
|
|
|
35 |
|
|
# The monitor interface is really slow.
|
36 |
|
|
set_board_info gdb,timeout 540;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.