diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-25 19:55:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-25 19:55:30 +0000 |
commit | a6a3ecee32cac344ae7c9f33d9335791ed90e861 (patch) | |
tree | ff0d1f525c71cec4daafea17ac6f842f06c37d55 /dejagnu | |
parent | 352b7df50be0d0a76398e9ed942e24a110281bd3 (diff) |
2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* boards/rtems-arm-edb7312.exp: Add -i option.
* boards/rtems-m68k-uC5282.exp: New file. Add uC5282 support.
Diffstat (limited to 'dejagnu')
-rw-r--r-- | dejagnu/ChangeLog | 5 | ||||
-rwxr-xr-x | dejagnu/boards/rtems-arm-edb7312.exp | 2 | ||||
-rwxr-xr-x | dejagnu/boards/rtems-m68k-uC5282.exp | 60 |
3 files changed, 66 insertions, 1 deletions
diff --git a/dejagnu/ChangeLog b/dejagnu/ChangeLog index f934e1a..ca480ba 100644 --- a/dejagnu/ChangeLog +++ b/dejagnu/ChangeLog @@ -1,5 +1,10 @@ 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com> + * boards/rtems-arm-edb7312.exp: Add -i option. + * boards/rtems-m68k-uC5282.exp: New file. Add uC5282 support. + +2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com> + * boards/rtems-i386-qemu.exp: Rename most qemu scripts to match the BSP name. qemu-leon2 not renamed since we prefer tsim for it. diff --git a/dejagnu/boards/rtems-arm-edb7312.exp b/dejagnu/boards/rtems-arm-edb7312.exp index af6b8d8..d12d45b 100755 --- a/dejagnu/boards/rtems-arm-edb7312.exp +++ b/dejagnu/boards/rtems-arm-edb7312.exp @@ -28,7 +28,7 @@ set_board_info gcc,stack_size 2048 # wrapper script which handles the device tree set_board_info sim "edb7312" -set_board_info sim,options "" +set_board_info sim,options "-i" # No support for signals on this target. set_board_info gdb,nosignals 1 diff --git a/dejagnu/boards/rtems-m68k-uC5282.exp b/dejagnu/boards/rtems-m68k-uC5282.exp new file mode 100755 index 0000000..b4f987f --- /dev/null +++ b/dejagnu/boards/rtems-m68k-uC5282.exp @@ -0,0 +1,60 @@ +# Copyright (C) 1997-2008 Free Software +# Foundation, Inc. +# +# This file is part of DejaGnu. +# +# DejaGnu is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# DejaGnu is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with DejaGnu; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# This is a list of toolchains that are supported on this board. +set_board_info target_install {powerpc-rtems4.9} + +# Load the generic configuration for this board, This will define a basic +# set of routines needed by the tool to communicate with the board. +load_generic_config "sim" + +# basic-sim.exp is a basic description for the standard Cygnus simulator. +load_base_board_description "basic-sim" + +# The name of the simulator is "ppc". +setup_sim psim + +# No multilib flags needed by default. +process_multilib_options "" + +# The compiler used to build for this board. This has *nothing* to do +# with what compiler is tested if we're testing gcc. +set_board_info compiler "[find_gcc]" + +set_board_info cflags "[newlib_include_flags] -B${RTEMS_MAKEFILE_PATH}/lib/ -specs bsp_specs -qrtems -mcpu=5282" +set_board_info ldflags "[newlib_link_flags] ${RTEMS_CONFIG_OBJ}" + +# The simulator isn't really remote. +set_board_info isremote 0 + +# We only have a small stack available to us +set_board_info gcc,stack_size 2048 + +# wrapper script which handles the device tree +set_board_info sim "psim" +set_board_info sim,options "" + +# No support for signals on this target. +set_board_info gdb,nosignals 1 + +# The simulator doesn't return exit statuses and we need to indicate this. +set_board_info needs_status_wrapper 1 + +# Can't call functions from GDB. +# set_board_info gdb,cannot_call_functions 1 |