]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - users/wanleg/rules.mk
[Keymap] Jarred's Plaid keymap (#6049)
[qmk_firmware.git] / users / wanleg / rules.mk
index 56304013153dc119d04e7224b40dd1bcfd9d2985..eb66a49e6fa231704543179bf1fa343fba195175 100644 (file)
@@ -9,8 +9,37 @@ ifeq ($(strip $(dfu)), qmk)
     BOOTLOADER = qmk-dfu
 endif
 
-#use alternate settings for 4x4 board using ProMicro instead of Micro
-#usage: make 4x4:wanleg PM=yes
+#use alternate settings for boards using ProMicro instead of Micro
+#example usage: make 4x4:wanleg PM=yes
 ifeq ($(strip $(PM)), yes)
        OPT_DEFS += -DPRO_MICRO
 endif
+
+#use alternate settings for boards using "Adafruit Feather 32u4 Bluefruit LE" instead of Micro
+#example usage: make 5x5:wanleg BT=yes
+ifeq ($(strip $(BT)), yes)
+  #opt_defs for alternate pin usage
+  OPT_DEFS += -DBLUEFRUIT
+  #Adafruit Bluefruit controller settings
+  BLUETOOTH = AdafruitBLE
+  BLUETOOTH_ENABLE = yes
+  F_CPU = 8000000
+  CONSOLE_ENABLE = no          # Console for debug(+400)
+  COMMAND_ENABLE = no          # Commands for debug and configuration
+  RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
+endif
+
+#move numpad to Left/Centre/Right(default) on 5x15 boards
+#example usage: make 4x4:wanleg padc=yes
+ifeq ($(strip $(padc)), yes)
+       OPT_DEFS += -DPADC
+endif
+ifeq ($(strip $(padl)), yes)
+       OPT_DEFS += -DPADL
+endif
+
+#change gherkin orientation (i.e. move USB port from right side to left side)
+#example usage: make gherkin:wanleg flip=yes
+ifeq ($(strip $(flip)), yes)
+       OPT_DEFS += -DFLIP
+endif
\ No newline at end of file