added make flash

This commit is contained in:
2024-04-02 16:57:22 +02:00
parent d3d586b6d2
commit 9c45285d8a
2 changed files with 6 additions and 2 deletions

View File

@ -89,4 +89,8 @@ clean:
rm -f $(BUILD_DIR)/*.o
rm -f $(BUILD_DIR)/Laplace/*.o
rm -f $(BUILD_DIR)/$(TARGET).elf
rm -f $(BUILD_DIR)/$(TARGET).bin
rm -f $(BUILD_DIR)/$(TARGET).bin
.PHONY: flash
flash:
dfu-util -a 0 -i 0 -s 0x90400000 -D build/main.bin