source: rtems-testing/sim-scripts/lm32_evr.in @ 7199b76

4.11
Last change on this file since 7199b76 was a00ab66, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2009 at 9:16:23 PM

2009-10-12 Joel Sherrill <joel.sherrill@…>

  • ant5206.in, avrtest.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in, ezkit533.in, gdb-sim-run.in, gdbarmsim.in, gumstix.in, h8sim.in, jmr3904.in, lm32_evr.in, m32csim.in, m32rsim.in, pc386.in, psim.in, qemu-gumstix.in, qemu-leon2.in, qemuppc.in, rtl22xx.in, simsh.in, sis.in, skyeye-support, smdk2410.in, tsim-support, uC5282.in: Add running minimum to pick up path where there are no Classic API Initialization Tasks. Minimum has IDLE task as first application task.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  lm32/lm32_evr Support Using Simulator in GDB
3#
4#  $Id$
5#
6
7runARGS()
8{
9#  echo '--hw-device lm32cpu
10#       --hw-device "lm32uart/reg 0x80006000 0x100"
11#       --hw-device "/lm32uart > int int0 /lm32cpu"
12#       --hw-device "lm32timer/reg 0x80002000 0x80"
13#       --hw-device "/lm32timer > int int1 /lm32cpu"
14#       --memory-region 0x08000000,0x4000000' ${1}
15cat >lm32_evr.conf <<EOF
16lm32cpu
17lm32uart/reg 0x80006000 0x100
18/lm32uart > int int0 /lm32cpu
19lm32timer/reg 0x80002000 0x80
20/lm32timer > int int1 /lm32cpu
21--memory-region  0x08000000,0x4000000
22EOF
23  echo "--hw-file lm32_evr.conf ${1}"
24}
25
26bspGeneratesGDBCommands="yes"
27
28bspGenerateGDBCommands()
29{
30cat <<EOF
31tar sim --hw-device lm32cpu \\
32  --hw-device "lm32uart/reg 0x80006000 0x100" \\
33  --hw-device "/lm32uart > int int0 /lm32cpu" \\
34  --hw-device "lm32timer/reg 0x80002000 0x80" \\
35  --hw-device "/lm32timer > int int1 /lm32cpu" \\
36  --memory-region 0x08000000,0x4000000
37load
38EOF
39}
40
41checkBSPFaults()
42{
43  return 0
44}
45
46bspLimit()
47{
48  testname=$1
49  case ${testname} in
50    *stackchk*)limit=5 ;;
51    *fatal*)   limit=1 ;;
52    *minimum*) limit=1 ;;
53    *psxtime*) limit=180 ;;
54    *)         limit=60 ;;
55  esac
56  echo ${limit}
57}
Note: See TracBrowser for help on using the repository browser.