diff options
| -rw-r--r-- | keyboards/helix/rev2/local_features.mk | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/keyboards/helix/rev2/local_features.mk b/keyboards/helix/rev2/local_features.mk index 47e8c6a83..8c3ac9c3c 100644 --- a/keyboards/helix/rev2/local_features.mk +++ b/keyboards/helix/rev2/local_features.mk | |||
| @@ -164,14 +164,25 @@ ifeq ($(strip $(OLED_ENABLE)), yes) | |||
| 164 | OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" | 164 | OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" |
| 165 | endif | 165 | endif |
| 166 | else | 166 | else |
| 167 | OLED_ENABLE = no # disable OLED in TOP/common_features.mk | 167 | ifeq ($(strip $(SPLIT_KEYBOARD)), yes) |
| 168 | OLED_LOCAL_ENABLE = yes | 168 | $(info Helix/rev2: The following combinations are not supported.) |
| 169 | SRC += local_drivers/i2c.c | 169 | $(info - SPLIT_KEYBOARD = $(SPLIT_KEYBOARD)) # yes |
| 170 | SRC += local_drivers/ssd1306.c | 170 | $(info - OLED_ENABLE = $(OLED_ENABLE)) # yes |
| 171 | KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers | 171 | $(info - OLED_SELECT = $(OLED_SELECT)) # local |
| 172 | OPT_DEFS += -DOLED_LOCAL_ENABLE | 172 | $(info Force : OLED_ENABLE = no) |
| 173 | ifeq ($(strip $(LOCAL_GLCDFONT)), yes) | 173 | $(info .) |
| 174 | OPT_DEFS += -DLOCAL_GLCDFONT | 174 | OLED_ENABLE = no |
| 175 | endif | ||
| 176 | ifeq ($(strip $(OLED_ENABLE)), yes) | ||
| 177 | OLED_ENABLE = no # disable OLED in TOP/common_features.mk | ||
| 178 | OLED_LOCAL_ENABLE = yes | ||
| 179 | SRC += local_drivers/i2c.c | ||
| 180 | SRC += local_drivers/ssd1306.c | ||
| 181 | KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers | ||
| 182 | OPT_DEFS += -DOLED_LOCAL_ENABLE | ||
| 183 | ifeq ($(strip $(LOCAL_GLCDFONT)), yes) | ||
| 184 | OPT_DEFS += -DLOCAL_GLCDFONT | ||
| 185 | endif | ||
| 175 | endif | 186 | endif |
| 176 | endif | 187 | endif |
| 177 | endif | 188 | endif |
