M keyboards/ergodox_ez/ergodox_ez.c => keyboards/ergodox_ez/ergodox_ez.c +1 -0
@@ 269,6 269,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
};
+__attribute__ ((weak))
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
/*{row | col << 4}
M keyboards/ergodox_ez/keymaps/default/keymap.c => keyboards/ergodox_ez/keymaps/default/keymap.c +0 -2
@@ 1,6 1,4 @@
#include QMK_KEYBOARD_H
-#include "debug.h"
-#include "action_layer.h"
#include "version.h"
#define BASE 0 // default layer
A keyboards/ergodox_ez/keymaps/default_glow/keymap.c => keyboards/ergodox_ez/keymaps/default_glow/keymap.c +1 -0
@@ 0,0 1,1 @@
+// Placeholder. See ../default/keymap.c for details
A keyboards/ergodox_ez/keymaps/default_glow/rules.mk => keyboards/ergodox_ez/keymaps/default_glow/rules.mk +4 -0
@@ 0,0 1,4 @@
+RGBLIGHT_ENABLE = no
+RGB_MATRIX_ENABLE = yes # enable later
+
+SRC += ../default/keymap.c
M keyboards/ergodox_ez/rules.mk => keyboards/ergodox_ez/rules.mk +6 -2
@@ 15,8 15,7 @@
#----------------------------------------------------------------------------
# # project specific files
-SRC = matrix.c \
- i2c_master.c
+SRC += matrix.c
# MCU name
MCU = atmega32u4
@@ 85,4 84,9 @@ API_SYSEX_ENABLE = no
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no # enable later
+ifeq ($(strip $(RGB_MATRIX_ENABLE)), no)
+ SRC += i2c_master.c
+endif
+
+
LAYOUTS = ergodox