add flash-candleLight and flash-cantact Makefile commands

This commit is contained in:
Hubert Denkmair 2016-04-22 15:26:34 +02:00
parent 6f571a1f80
commit 5aa024f48c

View File

@ -44,9 +44,18 @@ clean:
candleLight: candleLight:
$(MAKE) CHIP=STM32F072xB BOARD=candleLight bin $(MAKE) CHIP=STM32F072xB BOARD=candleLight bin
flash-candleLight:
$(MAKE) CHIP=STM32F072xB BOARD=candleLight board-flash
cantact: cantact:
$(MAKE) CHIP=STM32F072xB BOARD=cantact bin $(MAKE) CHIP=STM32F072xB BOARD=cantact bin
flash-cantact:
$(MAKE) CHIP=STM32F072xB BOARD=cantact board-flash
board-flash: bin
sudo dfu-util -d 1d50:606f -a 0 -s 0x08000000 -D $(BIN)
bin: $(BIN) bin: $(BIN)
$(BIN): $(ELF) $(BIN): $(ELF)