Skip to content

Commit

Permalink
Add reset applet
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Feb 7, 2017
1 parent 7f7ac08 commit 39bcf4b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,14 @@ gdb:
tui:
arm-none-eabi-gdb -tui $(BUILD_PATH)/$(NAME).elf

applet: $(EXECUTABLE)
rm -f flash.asm
arm-none-eabi-objdump -d $(BUILD_PATH)/flash.o > flash.asm
node scripts/genapplet.js flash.asm flash_write
@rm -f flash.asm
%.asmdump: %.o
arm-none-eabi-objdump -d $< > $@

applet0: $(BUILD_PATH)/flash.asmdump
node scripts/genapplet.js $< flash_write

applet1: $(BUILD_PATH)/utils.asmdump
node scripts/genapplet.js $< resetIntoApp

drop-board: all
@echo "*** Copy files for $(BOARD)"
Expand Down

0 comments on commit 39bcf4b

Please sign in to comment.