summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2016-11-23 21:27:45 +0000
committerTomasz Kramkowski <tk@the-tk.com>2016-11-23 21:27:45 +0000
commite927fb70d4f46dd686d8ad246cac587c219ddd9d (patch)
tree429e961552f98bf59b19357a5ae4864ffd7868db
parent5e7e81535fea702b9194795525453ac0b801ce94 (diff)
downloadfmk-e927fb70d4f46dd686d8ad246cac587c219ddd9d.tar.gz
fmk-e927fb70d4f46dd686d8ad246cac587c219ddd9d.tar.xz
fmk-e927fb70d4f46dd686d8ad246cac587c219ddd9d.zip
Makefile: use new hktool interface
-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