diff options
Diffstat (limited to 'keyboards/rgbkb')
| -rw-r--r-- | keyboards/rgbkb/zen/post_rules.mk | 14 | ||||
| -rw-r--r-- | keyboards/rgbkb/zen/rev2/post_rules.mk | 5 | ||||
| -rw-r--r-- | keyboards/rgbkb/zen/rev2/rules.mk | 6 | ||||
| -rw-r--r-- | keyboards/rgbkb/zen/rules.mk | 15 |
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 @@ | |||
| 1 | ifeq ($(strip $(CTPC)), yes) | ||
| 2 | CONVERT_TO_PROTON_C=yes | ||
| 3 | endif | ||
| 4 | |||
| 5 | ifeq ($(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 | ||
| 10 | else | ||
| 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. | ||
| 14 | endif | ||
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 | ||
| 2 | ifeq ($(strip $(OLED_ENABLE)), yes) | ||
| 3 | # Custom local font file | ||
| 4 | OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" | ||
| 5 | endif | ||
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 @@ | |||
| 1 | ENCODER_ENABLE = yes | 1 | ENCODER_ENABLE = yes |
| 2 | 2 | ||
| 3 | OLED_ENABLE = no | 3 | OLED_ENABLE = no |
| 4 | |||
| 5 | # Setup so that OLED can be turned on/off easily | ||
| 6 | ifeq ($(strip $(OLED_ENABLE)), yes) | ||
| 7 | # Custom local font file | ||
| 8 | OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" | ||
| 9 | endif | ||
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 |
| 5 | BOOTLOADER = caterina | 5 | BOOTLOADER = caterina |
| 6 | 6 | ||
| 7 | ifeq ($(strip $(CTPC)), yes) | ||
| 8 | CONVERT_TO_PROTON_C=yes | ||
| 9 | endif | ||
| 10 | |||
| 11 | ifeq ($(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 | ||
| 16 | else | ||
| 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. | ||
| 20 | endif | ||
| 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 |
