You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
731 B

AUDIO_ENABLE = no
BACKLIGHT_ENABLE = no
COMMAND_ENABLE = no
JOYSTICK_ENABLE = yes
JOYSTICK_DRIVER = analog
LTO_ENABLE = yes # FIXME: If im not mistaken, this can cause issues on ARM (ie STM32)
OLED_ENABLE = yes
TAP_DANCE_ENABLE = no
LEDS_ENABLE = yes
THUMBSTICK_ENABLE = yes
SRC += common/state.c
# 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
endif
ifeq ($(strip $(OLED_ENABLE)), yes)
SRC += common/oled.c
endif
ifeq ($(strip $(THUMBSTICK_ENABLE)), yes)
OPT_DEFS += -DTHUMBSTICK_ENABLE
SRC += analog.c \
common/thumbstick.c
endif