summaryrefslogtreecommitdiffstats
path: root/uc_str912/erase_flash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uc_str912/erase_flash/Makefile')
-rw-r--r--uc_str912/erase_flash/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/uc_str912/erase_flash/Makefile b/uc_str912/erase_flash/Makefile
new file mode 100644
index 0000000..b8b8b61
--- /dev/null
+++ b/uc_str912/erase_flash/Makefile
@@ -0,0 +1,10 @@
+all: erase
+
+erase: erase.o erase_jlink.gdb
+ arm-none-eabi-gdb -x erase_jlink.gdb
+
+erase.o: erase.S
+ arm-none-eabi-as erase.S -o erase.o
+
+clean:
+ rm -f erase.o
OpenPOWER on IntegriCloud