diff options
Diffstat (limited to 'keyboards/crkbd/keymaps/jpe230/rules.mk')
-rw-r--r-- | keyboards/crkbd/keymaps/jpe230/rules.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/jpe230/rules.mk b/keyboards/crkbd/keymaps/jpe230/rules.mk new file mode 100644 index 0000000000..b78c1d45f3 --- /dev/null +++ b/keyboards/crkbd/keymaps/jpe230/rules.mk @@ -0,0 +1,25 @@ +# Shared rules for both of my Corne +OLED_ENABLE = yes +OLED_DRIVER = SSD1306 +VIA_ENABLE = yes +RGB_MATRIX_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 + |