aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rgbkb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rgbkb')
-rw-r--r--keyboards/rgbkb/zen/post_rules.mk14
-rw-r--r--keyboards/rgbkb/zen/rev2/post_rules.mk5
-rw-r--r--keyboards/rgbkb/zen/rev2/rules.mk6
-rw-r--r--keyboards/rgbkb/zen/rules.mk15
4 files changed, 19 insertions, 21 deletions
diff --git a/keyboards/rgbkb/zen/post_rules.mk b/keyboards/rgbkb/zen/post_rules.mk
new file mode 100644
index 000000000..3ddb449ef
--- /dev/null
+++ b/keyboards/rgbkb/zen/post_rules.mk
@@ -0,0 +1,14 @@
1ifeq ($(strip $(CTPC)), yes)
2 CONVERT_TO_PROTON_C=yes
3endif
4
5ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
6 SPLIT_KEYBOARD = no # currently unsupported on ARM
7 RGBLIGHT_ENABLE = no # currently unsupported on ARM
8
9 EXTRAFLAGS += -DUSE_PROTON_C
10else
11 # Currently moved to Pro Micro only section because of lack of Proton-C support
12 SPLIT_KEYBOARD = yes
13 RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
14endif
diff --git a/keyboards/rgbkb/zen/rev2/post_rules.mk b/keyboards/rgbkb/zen/rev2/post_rules.mk
new file mode 100644
index 000000000..2a4397e98
--- /dev/null
+++ b/keyboards/rgbkb/zen/rev2/post_rules.mk
@@ -0,0 +1,5 @@
1# Setup so that OLED can be turned on/off easily
2ifeq ($(strip $(OLED_ENABLE)), yes)
3 # Custom local font file
4 OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
5endif
diff --git a/keyboards/rgbkb/zen/rev2/rules.mk b/keyboards/rgbkb/zen/rev2/rules.mk
index 9bb8b8cd0..6dd9d2e27 100644
--- a/keyboards/rgbkb/zen/rev2/rules.mk
+++ b/keyboards/rgbkb/zen/rev2/rules.mk
@@ -1,9 +1,3 @@
1ENCODER_ENABLE = yes 1ENCODER_ENABLE = yes
2 2
3OLED_ENABLE = no 3OLED_ENABLE = no
4
5# Setup so that OLED can be turned on/off easily
6ifeq ($(strip $(OLED_ENABLE)), yes)
7 # Custom local font file
8 OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
9endif
diff --git a/keyboards/rgbkb/zen/rules.mk b/keyboards/rgbkb/zen/rules.mk
index c18c84be5..0bf7eae65 100644
--- a/keyboards/rgbkb/zen/rules.mk
+++ b/keyboards/rgbkb/zen/rules.mk
@@ -4,21 +4,6 @@ MCU = atmega32u4
4# Bootloader selection 4# Bootloader selection
5BOOTLOADER = caterina 5BOOTLOADER = caterina
6 6
7ifeq ($(strip $(CTPC)), yes)
8 CONVERT_TO_PROTON_C=yes
9endif
10
11ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
12 SPLIT_KEYBOARD = no # currently unsupported on ARM
13 RGBLIGHT_ENABLE = no # currently unsupported on ARM
14
15 EXTRAFLAGS += -DUSE_PROTON_C
16else
17 # Currently moved to Pro Micro only section because of lack of Proton-C support
18 SPLIT_KEYBOARD = yes
19 RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
20endif
21
22# Build Options 7# Build Options
23# change to "no" to disable the options, or define them in the Makefile in 8# change to "no" to disable the options, or define them in the Makefile in
24# the appropriate keymap folder that will get included automatically 9# the appropriate keymap folder that will get included automatically