summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/keymaps/default/rules.mk
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-15 11:14:52 +0000
committerQMK Bot <hello@qmk.fm>2020-12-15 11:14:52 +0000
commitc1b8b811ed78a465f06c41bdf69fb8d816d96b7d (patch)
treea8bc4b10904e5391138e17f741268eab1c0ecb35 /keyboards/helix/rev2/keymaps/default/rules.mk
parent9a04739b9866876bcee0ee13590488eb85891598 (diff)
parent0831a3181a51cf190aabcea504c1be2752bbc2be (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/helix/rev2/keymaps/default/rules.mk')
-rw-r--r--keyboards/helix/rev2/keymaps/default/rules.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/helix/rev2/keymaps/default/rules.mk b/keyboards/helix/rev2/keymaps/default/rules.mk
index 9801648dec..206e836ec0 100644
--- a/keyboards/helix/rev2/keymaps/default/rules.mk
+++ b/keyboards/helix/rev2/keymaps/default/rules.mk
@@ -18,6 +18,18 @@ LTO_ENABLE = no # if firmware size over limit, try this option
# LED_ANIMATIONS = yes # LED animations
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
+# OLED_ENABLE が yes のとき
+# OLED_SELECT が core ならば QMK 標準の oled_dirver.c を使用します。
+# OLED_SELECT が core 以外ならば従来どおり helix/local_drivers/ssd1306.c を使用します。
+# If OLED_ENABLE is 'yes'
+# If OLED_SELECT is 'core', use QMK standard oled_dirver.c.
+# If OLED_SELECT is other than 'core', use helix/local_drivers/ssd1306.c.
+OLED_SELECT = core
+
+ifeq ($(strip $(OLED_ENABLE)), yes)
+ SRC += oled_display.c
+endif
+
# convert Helix-specific options (that represent combinations of standard options)
# into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))