blob: fc444d9c0dc51d3a88dda80cf75e62043514d449 (
plain) (
blame)
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
42
43
44
|
#
# Blackfin ezKit533 Support
#
runARGS()
{
echo "--env operating --model bf533 ${1}"
}
checkBSPFaults()
{
logfile=$1
grep "^Unhandled exception" ${logfile}
exceptionExit=$?
grep "^mips-core: " ${logfile}
badAccessExit=$?
if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
return 1
fi
return 0
}
bspLimit()
{
testname=$1
case ${testname} in
*stackchk*)limit=5 ;;
*fatal*) limit=1 ;;
*minimum*) limit=1 ;;
*psxtime*) limit=180 ;;
*) limit=60 ;;
esac
echo ${limit}
}
bspGeneratesGDBCommands="yes"
bspGenerateGDBCommands()
{
cat <<EOF
target sim --env operating --model bf533
load
EOF
}
|