X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fregression%2Frt.sh;h=5b1ca1fc55a14f513909822d1bc8c0f4f27ad0e9;hb=478e6bc0bb6903e61ba8d9c12612adfae6dee7a3;hp=60692136d55b5c5a9e34994482e030e65b9ad6fd;hpb=df8a872aeeaebc41286411e563d1b1120c5a5308;p=fw%2Fsdcc diff --git a/src/regression/rt.sh b/src/regression/rt.sh index 60692136..5b1ca1fc 100755 --- a/src/regression/rt.sh +++ b/src/regression/rt.sh @@ -8,9 +8,16 @@ if [ $# -lt 1 ] ; then fi # compile -../../bin/sdcc -S -mpic14 $1.c -gpasm -c -I /usr/local/share/gpasm/header $1.asm +# ../../bin/sdcc -S -mpic14 $1.c +../../bin/sdcc -c -mpic14 -pp16f873 $1.c +#gpasm -c -I /usr/local/share/gpasm/header $1.asm +#gpasm $1.asm + +# create the executable + +gplink --map -c -s 16f877.lkr -o $1.o $1.o ./create_stc $1.cod $1.stc + ./simulate $1.stc garbage.log cat garbage.log rm garbage.log