projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ran unexpand -a over peeph.def
[fw/sdcc]
/
src
/
regression
/
rt.sh
1
# test Script
2
3
USAGE="Usage: `basename $0` BASENAME"
4
5
if [ $# -lt 1 ] ; then
6
echo "$USAGE"
7
exit 1
8
fi
9
10
# compile
11
12
../../bin/sdcc -c -mpic14 -pp16f873 $1.c
13
14
15
# create the executable
16
17
gplink --map -c -s 16f877.lkr -o $1.o $1.o
18
./create_stc $1.cod $1.stc
19
20
./simulate $1.stc garbage.log
21
cat garbage.log
22
rm garbage.log