Skip to content

Commit

Permalink
Change BOOTMAGIC_ENABLE=yes to use Bootmagic Lite
Browse files Browse the repository at this point in the history
... instead of full Bootmagic.

This commit changes the meaning of `BOOTMAGIC_ENABLE = yes` to mean "Enable Bootmagic Lite" instead of "Enable full Bootmagic" as previously meant.
  • Loading branch information
noroadsleft committed Apr 5, 2021
1 parent 3ce8c9f commit f65a6ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,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
Expand Down Expand Up @@ -688,4 +688,4 @@ ifeq ($(strip $(USBPD_ENABLE)), yes)
# Board designers can add their own driver to $(SRC)
endif
endif
endif
endif

0 comments on commit f65a6ea

Please sign in to comment.