Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wendlers committed Nov 6, 2012
1 parent f5a0002 commit 4692ad9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 59 deletions.
2 changes: 2 additions & 0 deletions install-propeller-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ setup() {

rm -fr $DL_DIR/* 2> /dev/null
rm -fr propgcc 2> /dev/null
rm -fr spin2cpp 2> /dev/null
rm -fr open-source-spin-compiler 2> /dev/null

sudo rm -fr $INST_DIR 2> /dev/null
sudo mkdir $INST_DIR
Expand Down
Binary file removed s2cpptest/.Makefile.swp
Binary file not shown.
8 changes: 4 additions & 4 deletions s2cpptest/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
CC = propeller-elf-gcc
LDR = propeller-load
CFLAGS = -O -mfcache
SPIN2CPP = spin2cpp
SPINL = spinloader

all: blink.elf

blink.elf: blink.spin
$(SPIN2CPP) --elf -o blink.elf $(CFLAGS) blink.spin

load: blink.binary
$(SPINL) $<
load: blink.elf
$(LDR) -r -t blink.elf -b c3

clean:
rm -rf *.elf
rm -rf *.h *.cpp *.elf
36 changes: 0 additions & 36 deletions s2cpptest/blink.cpp

This file was deleted.

19 changes: 0 additions & 19 deletions s2cpptest/blink.h

This file was deleted.

0 comments on commit 4692ad9

Please sign in to comment.