diff options
author | yiancar <yiangosyiangou@cytanet.com.cy> | 2019-07-16 03:11:59 +0100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-07-19 10:06:08 +0900 |
commit | 7f75ee8cd68461cdfbcf8c6c14e7fc522fef52d6 (patch) | |
tree | 236521e8af1988b66a9721d7630055259fe53c7c /tmk_core/avr.mk | |
parent | 8ca6a890780c0ea2b1819f93563222f4ce98199a (diff) |
Usbasploader bootloader option addition (#6304)
* Added USBasp bootloader option for USBasploader
* author comment
* ifdef fix :)
* Add usbasp target
* Update docs/flashing.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update docs/flashing.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update docs/flashing.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Diffstat (limited to 'tmk_core/avr.mk')
-rw-r--r-- | tmk_core/avr.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk index 6bf86d58a8..670e141bfd 100644 --- a/tmk_core/avr.mk +++ b/tmk_core/avr.mk @@ -245,6 +245,10 @@ avrdude-split-left: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware avrdude-split-right: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware $(call EXEC_AVRDUDE,eeprom-righthand.eep) +usbasp: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware + avrdude -p $(MCU) -c usbasp -U flash:w:$(BUILD_DIR)/$(TARGET).hex + + # Convert hex to bin. bin: $(BUILD_DIR)/$(TARGET).hex $(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin |