aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-08-11 11:28:09 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-08-11 11:28:09 +0200
commit4758a8c13add7b04eda596595c7d192ffad9c3d5 (patch)
treefb35047440112c58ea6ab904e76063197f874462
parent71fd6d6b4e3dc9df0ba91bc11219c0fd68629154 (diff)
put firmware files in subdirectory
-rw-r--r--.gitignore1
-rwxr-xr-xrun.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9e6d0f8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+firmware/ \ No newline at end of file
diff --git a/run.sh b/run.sh
index a126811..d6243e2 100755
--- a/run.sh
+++ b/run.sh
@@ -10,7 +10,7 @@ echo "##########################################"
echo "##########################################"
echo "# Flashing temporary HSM firmware"
echo "##########################################"
-./bin/flash-target hsm
+./bin/flash-target firmware/cli-test
./bin/reset
sleep 5
@@ -23,7 +23,7 @@ echo "##########################################"
echo "##########################################"
echo "# Programming AVR"
echo "##########################################"
-avrdude -c usbtiny -p attiny828 -U flash:w:tamper.hex
+avrdude -c usbtiny -p attiny828 -U flash:w:firmware/tamper.hex
echo "##########################################"
echo "# Flashing official STM32 firmware"