summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b4393dd..acae6d2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,6 @@ AS = arm-none-eabi-as
CC = arm-none-eabi-gcc
OBJCOPY = arm-none-eabi-objcopy
-HKTOOL = hktool $(MCU)
-
WARNINGS = -Wpointer-arith -Wcast-align -Wformat=2 \
-Wsuggest-attribute=format -Wall \
-Wextra -Wpedantic -Winit-self -Wshadow -Wcast-qual \
@@ -25,8 +23,7 @@ all: fmk.bin
fmk: $(OBJ)
flash: fmk.bin
- hktool 0x40000 1024 64 0 $<
- hktool -r
+ hktool -f $< -r $(MCU)
clean:
$(RM) $(OBJ) $(OBJ:.o=.d) fmk fmk.bin