|
|
@ -495,24 +495,20 @@ ifeq ($(strip $(CRC_ENABLE)), yes) |
|
|
|
SRC += crc.c
|
|
|
|
SRC += crc.c
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
HAPTIC_ENABLE ?= no
|
|
|
|
ifeq ($(strip $(HAPTIC_ENABLE)),yes) |
|
|
|
ifneq ($(strip $(HAPTIC_ENABLE)),no) |
|
|
|
|
|
|
|
COMMON_VPATH += $(DRIVER_PATH)/haptic
|
|
|
|
COMMON_VPATH += $(DRIVER_PATH)/haptic
|
|
|
|
OPT_DEFS += -DHAPTIC_ENABLE
|
|
|
|
|
|
|
|
SRC += $(QUANTUM_DIR)/haptic.c
|
|
|
|
|
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_haptic.c
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(filter DRV2605L, $(HAPTIC_ENABLE)), ) |
|
|
|
ifneq ($(filter DRV2605L, $(HAPTIC_DRIVER)), )
|
|
|
|
SRC += DRV2605L.c
|
|
|
|
SRC += DRV2605L.c
|
|
|
|
QUANTUM_LIB_SRC += i2c_master.c
|
|
|
|
QUANTUM_LIB_SRC += i2c_master.c
|
|
|
|
OPT_DEFS += -DDRV2605L
|
|
|
|
OPT_DEFS += -DDRV2605L
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(filter SOLENOID, $(HAPTIC_ENABLE)), ) |
|
|
|
ifneq ($(filter SOLENOID, $(HAPTIC_DRIVER)), )
|
|
|
|
SRC += solenoid.c
|
|
|
|
SRC += solenoid.c
|
|
|
|
OPT_DEFS += -DSOLENOID_ENABLE
|
|
|
|
OPT_DEFS += -DSOLENOID_ENABLE
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(strip $(HD44780_ENABLE)), yes) |
|
|
|
ifeq ($(strip $(HD44780_ENABLE)), yes) |
|
|
|
SRC += platforms/avr/drivers/hd44780.c
|
|
|
|
SRC += platforms/avr/drivers/hd44780.c
|
|
|
|