diff options
| author | hathach <[email protected]> | 2021-01-26 12:46:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-01-26 12:46:24 +0700 |
| commit | 4a0f5cbd6332a9ae76dc2eea293024fab2c81885 (patch) | |
| tree | 3df25ecc15aba93ff5232b3e25a649411466bddd /hw/bsp/da1469x_dk_pro | |
| parent | 0e585570a38d4bd04bc907386ef7012f6e9222a9 (diff) | |
change output filename to BOARD-Directory
Diffstat (limited to 'hw/bsp/da1469x_dk_pro')
| -rw-r--r-- | hw/bsp/da1469x_dk_pro/board.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/da1469x_dk_pro/board.mk b/hw/bsp/da1469x_dk_pro/board.mk index 16bd6de6b..52064e63c 100644 --- a/hw/bsp/da1469x_dk_pro/board.mk +++ b/hw/bsp/da1469x_dk_pro/board.mk @@ -42,10 +42,10 @@ JLINK_DEVICE = DA14699 # flash using jlink but with some twists flash: flash-dialog -flash-dialog: $(BUILD)/$(BOARD)-firmware.bin +flash-dialog: $(BUILD)/$(PROJECT).bin @echo '#define SW_VERSION "v_1.0.0.1"' >$(BUILD)/version.h @echo '#define SW_VERSION_DATE "'`date +"%Y-%m-%d %H:%M"`'"' >>$(BUILD)/version.h - mkimage da1469x $(BUILD)/$(BOARD)-firmware.bin $(BUILD)/version.h $^.img + mkimage da1469x $(BUILD)/$(PROJECT).bin $(BUILD)/version.h $^.img cp $(TOP)/hw/bsp/$(BOARD)/product_header.dump $(BUILD)/$(BOARD)-image.bin cat $^.img >> $(BUILD)/$(BOARD)-image.bin @echo r > $(BUILD)/$(BOARD).jlink |
