From 4758a8c13add7b04eda596595c7d192ffad9c3d5 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Thu, 11 Aug 2016 11:28:09 +0200 Subject: put firmware files in subdirectory --- .gitignore | 1 + run.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitignore 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" -- cgit v1.2.3