2022-03-13 10:09:36 +00:00
|
|
|
# Shared rules for both of my Corne
|
|
|
|
OLED_ENABLE = yes
|
|
|
|
VIA_ENABLE = yes
|
2022-10-07 19:30:19 +00:00
|
|
|
RGB_MATRIX_ENABLE = yes
|
2022-03-13 10:09:36 +00:00
|
|
|
|
2022-10-07 19:30:19 +00:00
|
|
|
SRC += oled/oled_handler.c process_record.c
|
|
|
|
|
|
|
|
ifneq ($(CONVERT_TO),)
|
|
|
|
# Asume ARM
|
|
|
|
DEBUG_MATRIX_SCAN_RATE_ENABLE = yes
|
|
|
|
WPM_ENABLE = yes
|
|
|
|
CONSOLE_ENABLE = yes
|
|
|
|
SRC += oled/rp2040/master/oled_master_handler.c \
|
|
|
|
oled/rp2040/master/indicators_down.c \
|
|
|
|
oled/rp2040/master/indicators_up.c \
|
|
|
|
oled/rp2040/slave/oled_slave_handler.c \
|
|
|
|
oled/rp2040/slave/ocean_dream.c
|
|
|
|
else
|
|
|
|
# Asume AVR
|
|
|
|
LTO_ENABLE = yes
|
|
|
|
SRC += oled/avr/master/oled_master_handler.c \
|
|
|
|
oled/avr/slave/oled_slave_handler.c
|
|
|
|
endif
|