Commit 2c5e0acc authored by Federico Vaga's avatar Federico Vaga

bootloader: flash the bootloader (without loader)

This is just for testing purpose
Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent 7b68380c
......@@ -308,6 +308,9 @@ endif
flash: $(EXE_DIR)/$(PROJECTNAME).bin
openocd -s $(COMMONSW)/openocd -f interface/$(OOCD_IFACE).cfg -f init.cfg -c "program $(EXE_DIR)/$(PROJECTNAME).bin 0 verify reset"
flashmain: $(EXE_DIR)/$(PROJECTNAME_MAIN)-rom.bin
openocd -s $(COMMONSW)/openocd -f interface/$(OOCD_IFACE).cfg -f init.cfg -c "program $(EXE_DIR)/$(PROJECTNAME_MAIN)-rom.bin 0 verify reset"
# include auto-generated dependency files (explicit rules)
ifneq (clean,$(findstring clean, $(MAKECMDGOALS)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment