add flash target to bootloader makefile

This commit is contained in:
Pavol Rusnak 2016-09-25 16:04:07 +02:00
parent 259eeae26e
commit dc8348b4a0
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
1 changed files with 4 additions and 1 deletions

View File

@ -16,5 +16,8 @@ CFLAGS += -DUSE_PRECOMPUTED_CP=0
include ../Makefile.include
align:
align: $(NAME).bin
./firmware_align.py $(NAME).bin
flash: $(NAME).bin
$(FLASH) write $(NAME).bin 0x8000000