Skip to content

Commit

Permalink
Merge pull request #72 from TG9541/simload
Browse files Browse the repository at this point in the history
fixes #70 uCsim-works-on-my-machine issues
  • Loading branch information
TG9541 authored Sep 24, 2017
2 parents a01a53e + 054f33c commit 1807b75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/codeloadTCP.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# STM8EF uCsim telnet uploader
# - supports e4thcom style "#include" and "#require" pseudo words.
# - The include path is:
Expand Down
6 changes: 3 additions & 3 deletions tools/simload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EOF
gawk "$setbreak" out/$object/forth.rst >> "$ucsimstart"

# start simulator, it's set to break at HI
./sstm8 -w -C$ucsimstart -g -Z10001 -tS103 -Suart=1,port=10000 &
sstm8 -w -C$ucsimstart -g -Z10001 -tS103 -Suart=1,port=10000 &

# wait, inject uart code patch, and start over
sleep 0.2
Expand All @@ -35,9 +35,9 @@ EOF
# STM8EF: set RESET defaults to include the newly defined words
export persist=`mktemp`
cat << 'EOF' > "$persist"
ULOCKF
NVM
'BOOT DUP $12 DUP ROT + SWAP CMOVE
LOCKF
RAM
EOF

# wait some more, start transferring Forth code
Expand Down

0 comments on commit 1807b75

Please sign in to comment.