change output filename to BOARD-Directory

This commit is contained in:
hathach
2021-01-26 12:46:24 +07:00
parent 0e585570a3
commit 4a0f5cbd63
57 changed files with 96 additions and 77 deletions
+2 -2
View File
@@ -27,9 +27,9 @@ CHIP_FAMILY = eptri
FREERTOS_PORT = RISC-V
# flash using dfu-util
$(BUILD)/$(BOARD)-firmware.dfu: $(BUILD)/$(BOARD)-firmware.bin
$(BUILD)/$(PROJECT).dfu: $(BUILD)/$(PROJECT).bin
@echo "Create $@"
python $(TOP)/hw/bsp/$(BOARD)/dfu.py -b $^ -D 0x1209:0x5bf0 $@
flash: $(BUILD)/$(BOARD)-firmware.dfu
flash: $(BUILD)/$(PROJECT).dfu
dfu-util -D $^