OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [boards/] [or32-elf-sim.exp] - Blame information for rev 484

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 453 jeremybenn
#!/bin/bash
2
 
3
# Copyright (C) 2010 Embecosm Limited
4
 
5
# Contributor Jeremy Bennett 
6
# Contributor Joern Rennecke 
7
 
8
# This file is a board description for testing OpenRISC with newlib and Or1ksim
9
 
10
# This program is free software; you can redistribute it and/or modify it
11
# under the terms of the GNU General Public License as published by the Free
12
# Software Foundation; either version 3 of the License, or (at your option)
13
# any later version.
14
 
15
# This program is distributed in the hope that it will be useful, but WITHOUT
16
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
18
# more details.
19
 
20
# You should have received a copy of the GNU General Public License along
21
# with this program.  If not, see .
22
 
23
# This is a list of toolchains that are supported on this board.
24
set_board_info target_install {or32-elf}
25
 
26
# Load the generic configuration for this board. This will define a basic set
27
# of routines needed by the tool to communicate with the board.
28
load_generic_config "sim"
29
 
30
# basic-sim.exp is a basic description for the standard Cygnus simulator.
31
load_base_board_description "basic-sim"
32
 
33
# The name of the sim subdir in src/sim.
34
setup_sim or32
35
 
36
# Options for the simulator
37
# set cfg_file [lookfor_file ${srcdir} libgloss/or32/sim.cfg]
38
# set_board_info sim,options "-a \"-f ${cfg_file}\""
39
 
40
# No multilib options needed by default.
41
process_multilib_options ""
42
 
43
# We only support newlib on this
44
# target.  We assume that all multilib options have been specified
45
# before we get here.
46
 
47
# We do not specify the newlib include flags, since our strange file structure
48
# doesn't work with the standard expect commands, and will end up generating a
49
# blank -isystem option, which confuses things severely.
50
 
51
# It's sufficient just to specify -mor32-newlib. Bit of a shame to specify it
52
# both in cflags, which are also used when linking, so we'll get the libraries
53
# OK as well.
54
set_board_info compiler  "[find_gcc]"
55
set_board_info cflags    "-mor32-newlib"
56
 
57
# No linker script needed.
58
set_board_info ldscript ""
59
 
60
# This simulator isn't slow.
61
set_board_info slow_simulator 0
62
 
63
# Can't pass arguments to programs on this target..
64
set_board_info noargs  1
65
 
66
# Used by a few gcc.c-torture testcases to delimit how large the stack can
67
# be.
68
set_board_info gcc,stack_size 65536
69
 
70
# GDB options
71
 
72
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah.
73
set_board_info gdb,noinferiorio 1
74
# Or pass arguments.
75
set_board_info gdb,noargs  1
76
set_board_info noargs 1
77
# And there's no support for signals.
78
set_board_info gdb,nosignals  1

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.