diff options
author | yiancar <[email protected]> | 2019-07-16 03:11:59 +0100 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-07-15 19:11:59 -0700 |
commit | 3538955778c253e68779605cc67c27e15d195729 (patch) | |
tree | 3287594c4d9dbabbcf26a5a0d7461362c6509883 /tmk_core/avr.mk | |
parent | 7d557a0514e2cef42a3d460f6cc78771b5df0a30 (diff) | |
download | qmk_firmware-3538955778c253e68779605cc67c27e15d195729.tar.gz qmk_firmware-3538955778c253e68779605cc67c27e15d195729.zip |
Usbasploader bootloader option addition (#6304)0.6.419
* Added USBasp bootloader option for USBasploader
* author comment
* ifdef fix :)
* Add usbasp target
* Update docs/flashing.md
Co-Authored-By: fauxpark <[email protected]>
* Update docs/flashing.md
Co-Authored-By: fauxpark <[email protected]>
* Update docs/flashing.md
Co-Authored-By: fauxpark <[email protected]>
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 |