diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2021-08-29 15:06:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-29 15:06:00 +0900 |
| commit | 9afc64cd61da5e3e1d2fd72a83602709a6e4e4b8 (patch) | |
| tree | 7666b93f7e808e26381e1348a5a8fd728c2230d9 | |
| parent | dd8922d48269a0664e840d6b6a537b8b91c1826b (diff) | |
| download | qmk_firmware-9afc64cd61da5e3e1d2fd72a83602709a6e4e4b8.tar.gz qmk_firmware-9afc64cd61da5e3e1d2fd72a83602709a6e4e4b8.zip | |
[Keyboard] fix compile error `make helix/rev2/sc:all` (#14214)
| -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 |
