mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-28 06:02:52 +08:00
add flash-candleLight and flash-cantact Makefile commands
This commit is contained in:
parent
6f571a1f80
commit
5aa024f48c
9
Makefile
9
Makefile
@ -44,9 +44,18 @@ clean:
|
||||
candleLight:
|
||||
$(MAKE) CHIP=STM32F072xB BOARD=candleLight bin
|
||||
|
||||
flash-candleLight:
|
||||
$(MAKE) CHIP=STM32F072xB BOARD=candleLight board-flash
|
||||
|
||||
cantact:
|
||||
$(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): $(ELF)
|
||||
|
Loading…
x
Reference in New Issue
Block a user