aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk24
1 files changed, 1 insertions, 23 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index b9156f6a4..1ccc51ecf 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -68,6 +68,7 @@ CUSTOM_OLED_DRIVER ?= yes
68ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes) 68ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
69 ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes) 69 ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes)
70 SRC += oled_stuff.c 70 SRC += oled_stuff.c
71 OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE
71 endif 72 endif
72endif 73endif
73 74
@@ -78,31 +79,8 @@ ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
78 QUANTUM_LIB_SRC += i2c_master.c 79 QUANTUM_LIB_SRC += i2c_master.c
79endif 80endif
80 81
81CUSTOM_SPLIT_TRANSPORT ?= yes
82ifeq ($(strip $(SPLIT_KEYBOARD)), yes) 82ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
83 QUANTUM_LIB_SRC += transport_sync.c 83 QUANTUM_LIB_SRC += transport_sync.c
84 # ifneq ($(strip $(SPLIT_TRANSPORT)), custom)
85 # ifeq ($(strip $(CUSTOM_SPLIT_TRANSPORT)), yes)
86 # SPLIT_TRANSPORT = custom
87 # QUANTUM_LIB_SRC += drashna_transport.c
88 # OPT_DEFS += -DDRASHNA_CUSTOM_TRANSPORT
89 # # Unused functions are pruned away, which is why we can add multiple drivers here without bloat.
90 # ifeq ($(PLATFORM),AVR)
91 # ifneq ($(NO_I2C),yes)
92 # QUANTUM_LIB_SRC += i2c_master.c \
93 # i2c_slave.c
94 # endif
95 # endif
96
97 # SERIAL_DRIVER ?= bitbang
98 # OPT_DEFS += -DSERIAL_DRIVER_$(strip $(shell echo $(SERIAL_DRIVER) | tr '[:lower:]' '[:upper:]'))
99 # ifeq ($(strip $(SERIAL_DRIVER)), bitbang)
100 # QUANTUM_LIB_SRC += serial.c
101 # else
102 # QUANTUM_LIB_SRC += serial_$(strip $(SERIAL_DRIVER)).c
103 # endif
104 # endif
105 # endif
106endif 84endif
107 85
108# DEBUG_MATRIX_SCAN_RATE_ENABLE = api 86# DEBUG_MATRIX_SCAN_RATE_ENABLE = api