Change BOOTMAGIC_ENABLE=yes to use Bootmagic Lite (#12172)
This commit is contained in:
1 parent
f5aaecfdfc
commit
a8d64c8b89
214 files changed
+227
-214
No files matched your search
+2
-2
@@ -464,7 +464,7 @@ ifneq ($(strip $(BOOTMAGIC_ENABLE)), no)
|
||||
ifeq ($(filter $(BOOTMAGIC_ENABLE),$(VALID_MAGIC_TYPES)),)
|
||||
$(error BOOTMAGIC_ENABLE="$(BOOTMAGIC_ENABLE)" is not a valid type of magic)
|
||||
endif
|
||||
ifeq ($(strip $(BOOTMAGIC_ENABLE)), lite)
|
||||
ifneq ($(strip $(BOOTMAGIC_ENABLE)), full)
|
||||
OPT_DEFS += -DBOOTMAGIC_LITE
|
||||
QUANTUM_SRC += $(QUANTUM_DIR)/bootmagic/bootmagic_lite.c
|
||||
else
|
||||
@@ -689,4 +689,4 @@ ifeq ($(strip $(USBPD_ENABLE)), yes)
|
||||
# Board designers can add their own driver to $(SRC)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
Reference in new issue
Block a user