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
@@ -8,6 +8,6 @@ LD_FILE = $(BOARD_PATH)/$(BOARD).ld
# Add it to your PATH or change BOSSAC variable to match your installation
BOSSAC = bossac
flash: $(BUILD)/$(BOARD)-firmware.bin
flash: $(BUILD)/$(PROJECT).bin
@:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0)
$(BOSSAC) --port=$(SERIAL) -U -i -e -w $^ -R