aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-03 16:54:18 -0600
committerSelene ToyKeeper2018-11-03 16:54:18 -0600
commitb4d8f74c5fa32b974d7af8c71927822667a24643 (patch)
tree2ea10ed0a9926b7eecf3080ffccc3b22c1a5a9ef /spaghetti-monster
parentCorrected anduril.txt with the new aux LED button mappings. (diff)
parentAdded a help message to build.sh and flash.sh (diff)
downloadanduril-b4d8f74c5fa32b974d7af8c71927822667a24643.tar.gz
anduril-b4d8f74c5fa32b974d7af8c71927822667a24643.tar.bz2
anduril-b4d8f74c5fa32b974d7af8c71927822667a24643.zip
merged trunk and flash-safer branch (clean up flash/build scripts and make flashing less likely to produce bricks)
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/Makefile7
-rwxr-xr-xspaghetti-monster/anduril/build-all.sh2
-rw-r--r--spaghetti-monster/rampingios/Makefile7
-rwxr-xr-xspaghetti-monster/rampingios/build-all.sh2
4 files changed, 16 insertions, 2 deletions
diff --git a/spaghetti-monster/anduril/Makefile b/spaghetti-monster/anduril/Makefile
new file mode 100644
index 0000000..25c56fa
--- /dev/null
+++ b/spaghetti-monster/anduril/Makefile
@@ -0,0 +1,7 @@
+all:
+ ./build-all.sh
+
+clean:
+ rm -f *.hex *~ *.elf *.o
+
+.phony: clean
diff --git a/spaghetti-monster/anduril/build-all.sh b/spaghetti-monster/anduril/build-all.sh
index 1a1363c..34df732 100755
--- a/spaghetti-monster/anduril/build-all.sh
+++ b/spaghetti-monster/anduril/build-all.sh
@@ -19,6 +19,6 @@ for TARGET in \
SOFIRN_SP36 \
; do
echo "===== $TARGET ====="
- ../../../bin/build-85.sh "$UI" "-DFSM_${TARGET}_DRIVER"
+ ../../../bin/build.sh 85 "$UI" "-DFSM_${TARGET}_DRIVER"
mv -f "$UI".hex "$UI".$TARGET.hex
done
diff --git a/spaghetti-monster/rampingios/Makefile b/spaghetti-monster/rampingios/Makefile
new file mode 100644
index 0000000..8db198e
--- /dev/null
+++ b/spaghetti-monster/rampingios/Makefile
@@ -0,0 +1,7 @@
+all:
+ ./build-all.sh
+
+clean:
+ rm -f *.hex cfg-*.h *~ *.elf *.o
+
+.phony: clean
diff --git a/spaghetti-monster/rampingios/build-all.sh b/spaghetti-monster/rampingios/build-all.sh
index 22597b7..5b75fe4 100755
--- a/spaghetti-monster/rampingios/build-all.sh
+++ b/spaghetti-monster/rampingios/build-all.sh
@@ -13,6 +13,6 @@ for TARGET in \
EMISAR_D4S_219C \
; do
echo "===== $TARGET ====="
- ../../../bin/build-85.sh "$UI" "-DFSM_${TARGET}_DRIVER"
+ ../../../bin/build.sh 85 "$UI" "-DFSM_${TARGET}_DRIVER"
mv -f "$UI".hex "$UI".$TARGET.hex
done