|
|
@ -9,22 +9,24 @@ TAP_DANCE_ENABLE = no |
|
|
|
LEDS_ENABLE = yes |
|
|
|
THUMBSTICK_ENABLE = yes |
|
|
|
|
|
|
|
SRC += common/state.c |
|
|
|
SRC += state.c |
|
|
|
|
|
|
|
VPATH += keyboards/handwired/replicazeron/common |
|
|
|
|
|
|
|
# redirect compilation against "handwired/replicazeron" to the stm32 variant
|
|
|
|
DEFAULT_FOLDER = handwired/replicazeron/stm32f103 |
|
|
|
|
|
|
|
ifeq ($(strip $(LEDS_ENABLE)), yes) |
|
|
|
OPT_DEFS += -DLEDS_ENABLE |
|
|
|
SRC += common/leds.c |
|
|
|
SRC += leds.c |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(strip $(OLED_ENABLE)), yes) |
|
|
|
SRC += common/oled.c |
|
|
|
SRC += oled.c |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(strip $(THUMBSTICK_ENABLE)), yes) |
|
|
|
OPT_DEFS += -DTHUMBSTICK_ENABLE |
|
|
|
SRC += analog.c \
|
|
|
|
common/thumbstick.c |
|
|
|
thumbstick.c |
|
|
|
endif |