diff options
| author | yiancar <yiangosyiangou@cytanet.com.cy> | 2019-07-16 03:11:59 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-07-15 19:11:59 -0700 |
| commit | 3538955778c253e68779605cc67c27e15d195729 (patch) | |
| tree | 3287594c4d9dbabbcf26a5a0d7461362c6509883 /bootloader.mk | |
| parent | 7d557a0514e2cef42a3d460f6cc78771b5df0a30 (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 'bootloader.mk')
| -rw-r--r-- | bootloader.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader.mk b/bootloader.mk index 4bcf183fb7..9d73063d0f 100644 --- a/bootloader.mk +++ b/bootloader.mk | |||
| @@ -76,6 +76,10 @@ ifeq ($(strip $(BOOTLOADER)), bootloadHID) | |||
| 76 | OPT_DEFS += -DBOOTLOADER_BOOTLOADHID | 76 | OPT_DEFS += -DBOOTLOADER_BOOTLOADHID |
| 77 | BOOTLOADER_SIZE = 4096 | 77 | BOOTLOADER_SIZE = 4096 |
| 78 | endif | 78 | endif |
| 79 | ifeq ($(strip $(BOOTLOADER)), USBasp) | ||
| 80 | OPT_DEFS += -DBOOTLOADER_USBASP | ||
| 81 | BOOTLOADER_SIZE = 4096 | ||
| 82 | endif | ||
| 79 | 83 | ||
| 80 | ifdef BOOTLOADER_SIZE | 84 | ifdef BOOTLOADER_SIZE |
| 81 | OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) | 85 | OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) |
