c6569594b30318df73bba5f276f22173feef0818
[jackhill/qmk/firmware.git] / users / wanleg / rules.mk
1 SRC += wanleg.c tapdances.c
2
3 TAP_DANCE_ENABLE = yes
4 MOUSEKEY_ENABLE = yes
5
6 #If using a ProMicro and it has the QMK DFU bootloader instead of Caterina,
7 #run "make <keyboard>:<keymap> dfu=qmk" when compiling to ensure it is flagged properly after being flashed
8 ifeq ($(strip $(dfu)), qmk)
9 BOOTLOADER = qmk-dfu
10 endif
11
12 #use alternate settings for boards using ProMicro instead of Micro
13 #example usage: make 4x4:wanleg PM=yes
14 ifeq ($(strip $(PM)), yes)
15 OPT_DEFS += -DPRO_MICRO
16 endif
17
18 #use alternate settings for boards using "Adafruit Feather 32u4 Bluefruit LE" instead of Micro
19 #example usage: make 5x5:wanleg BT=yes
20 ifeq ($(strip $(BT)), yes)
21 #opt_defs for alternate pin usage
22 OPT_DEFS += -DBLUEFRUIT
23 #Adafruit Bluefruit controller settings
24 BLUETOOTH = AdafruitBLE
25 BLUETOOTH_ENABLE = yes
26 F_CPU = 8000000
27 CONSOLE_ENABLE = no # Console for debug(+400)
28 COMMAND_ENABLE = no # Commands for debug and configuration
29 RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
30 endif