]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/tool/chibios/common.mk
Merge remote-tracking branch 'upstream/master' into chibios
[max/tmk_keyboard.git] / tmk_core / tool / chibios / common.mk
index 0e9935dc7064977473dfeb40601e9cf50065b0e9..883054a45d501bd18ca2189e6b201af689bcf2de 100644 (file)
@@ -18,7 +18,6 @@ SRC +=        $(COMMON_DIR)/host.c \
 
 # Option modules
 ifdef BOOTMAGIC_ENABLE
-    $(error Bootmagic Not Supported)
     SRC += $(COMMON_DIR)/bootmagic.c
     SRC += $(COMMON_DIR)/chibios/eeconfig.c
     OPT_DEFS += -DBOOTMAGIC_ENABLE
@@ -55,8 +54,7 @@ ifdef USB_6KRO_ENABLE
 endif
 
 ifdef SLEEP_LED_ENABLE
-    $(error Sleep LED Not Supported)
-    SRC += $(COMMON_DIR)/sleep_led.c
+    SRC += $(COMMON_DIR)/chibios/sleep_led.c
     OPT_DEFS += -DSLEEP_LED_ENABLE
     OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
 endif