summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/keymaps/jpe230/rules.mk
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-10-07 19:31:00 +0000
committerQMK Bot <hello@qmk.fm>2022-10-07 19:31:00 +0000
commitc1e05b14d5a1c73c328e791db2aea5834ffa67c0 (patch)
tree7c23049b9d1ccee11974d88ede7fe656bc4cb2ee /keyboards/crkbd/keymaps/jpe230/rules.mk
parent150572da447ea4ec54df0621c2cb47c26818b621 (diff)
parent5d7e19209eac263f24d90e079749f646a86e50cc (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/crkbd/keymaps/jpe230/rules.mk')
-rw-r--r--keyboards/crkbd/keymaps/jpe230/rules.mk25
1 files changed, 19 insertions, 6 deletions
diff --git a/keyboards/crkbd/keymaps/jpe230/rules.mk b/keyboards/crkbd/keymaps/jpe230/rules.mk
index 82d5eb321d..b78c1d45f3 100644
--- a/keyboards/crkbd/keymaps/jpe230/rules.mk
+++ b/keyboards/crkbd/keymaps/jpe230/rules.mk
@@ -1,12 +1,25 @@
# Shared rules for both of my Corne
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
-LTO_ENABLE = yes
VIA_ENABLE = yes
+RGB_MATRIX_ENABLE = yes
-# Rules for my Corne without RGB
-# WPM_ENABLE = yes
-# MOUSEKEY_ENABLE = yes
+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
-# Rules for my Corne with RGB
-RGB_MATRIX_ENABLE = yes