summaryrefslogtreecommitdiff
path: root/bootloader.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.mk')
-rw-r--r--bootloader.mk4
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)
OPT_DEFS += -DBOOTLOADER_BOOTLOADHID
BOOTLOADER_SIZE = 4096
endif
+ifeq ($(strip $(BOOTLOADER)), USBasp)
+ OPT_DEFS += -DBOOTLOADER_USBASP
+ BOOTLOADER_SIZE = 4096
+endif
ifdef BOOTLOADER_SIZE
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))