Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot 2023-11-12 22:30:57 +00:00
commit 7d8fe31d51
35 changed files with 69 additions and 43 deletions

View file

@ -143,8 +143,7 @@ ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), adns9800)
SPI_DRIVER_REQUIRED = yes
else ifeq ($(strip $(POINTING_DEVICE_DRIVER)), analog_joystick)
OPT_DEFS += -DSTM32_ADC -DHAL_USE_ADC=TRUE
LIB_SRC += analog.c
ANALOG_DRIVER_REQUIRED = yes
else ifeq ($(strip $(POINTING_DEVICE_DRIVER)), cirque_pinnacle_i2c)
I2C_DRIVER_REQUIRED = yes
SRC += drivers/sensors/cirque_pinnacle.c
@ -860,8 +859,8 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/joystick.c
ifeq ($(strip $(JOYSTICK_DRIVER)), analog)
ANALOG_DRIVER_REQUIRED = yes
OPT_DEFS += -DANALOG_JOYSTICK_ENABLE
SRC += analog.c
endif
ifeq ($(strip $(JOYSTICK_DRIVER)), digital)
OPT_DEFS += -DDIGITAL_JOYSTICK_ENABLE
@ -906,9 +905,9 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le)
SPI_DRIVER_REQUIRED = yes
ANALOG_DRIVER_REQUIRED = yes
SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp
QUANTUM_LIB_SRC += analog.c
endif
ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42)
@ -955,6 +954,11 @@ ifeq ($(strip $(APA102_DRIVER_REQUIRED)), yes)
SRC += apa102.c
endif
ifeq ($(strip $(ANALOG_DRIVER_REQUIRED)), yes)
OPT_DEFS += -DHAL_USE_ADC=TRUE
QUANTUM_LIB_SRC += analog.c
endif
ifeq ($(strip $(I2C_DRIVER_REQUIRED)), yes)
OPT_DEFS += -DHAL_USE_I2C=TRUE
QUANTUM_LIB_SRC += i2c_master.c

View file

@ -9,7 +9,7 @@ This driver currently supports both AVR and a limited selection of ARM devices.
To use this driver, add the following to your `rules.mk`:
```make
SRC += analog.c
ANALOG_DRIVER_REQUIRED = yes
```
Then place this include at the top of your code:

View file

@ -1 +1 @@
SRC += analog.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,2 +1,4 @@
CUSTOM_MATRIX = lite
SRC += analog.c matrix.c ec_switch_matrix.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,3 +1,4 @@
CUSTOM_MATRIX = lite
QUANTUM_LIB_SRC += analog.c
SRC += matrix.c ec_switch_matrix.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,4 +1,6 @@
UF2_DEVICE_TYPE_ID = 0x35446147
UF2CONV_ARGS = --device-type $(UF2_DEVICE_TYPE_ID)
SRC += analog.c lib/common.c lib/mux.c
SRC += lib/common.c lib/mux.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,4 +1,6 @@
UF2_DEVICE_TYPE_ID = 0x27b9a6ea
UF2CONV_ARGS = --device-type $(UF2_DEVICE_TYPE_ID)
SRC += analog.c lib/common.c lib/mux.c
SRC += lib/common.c lib/mux.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1,4 +1,6 @@
UF2_DEVICE_TYPE_ID = 0x9bc1e968
UF2CONV_ARGS = --device-type $(UF2_DEVICE_TYPE_ID)
SRC += analog.c lib/common.c lib/mux.c
SRC += lib/common.c lib/mux.c
ANALOG_DRIVER_REQUIRED = yes

View file

@ -18,5 +18,6 @@ RGB_MATRIX_ENABLE = yes
LTO_ENABLE = yes
SRC += analog.c \
matrix.c
ANALOG_DRIVER_REQUIRED = yes
SRC += matrix.c

View file

@ -1,5 +1,3 @@
SRC += analog.c
# Build Options
# change yes to no to disable
#

View file

@ -1,3 +1,3 @@
SRC += analog.c
CONSOLE_ENABLE = yes
ANALOG_DRIVER_REQUIRED = yes

View file

@ -1 +0,0 @@
SRC += analog.c

View file

@ -18,10 +18,11 @@ PS2_ENABLE = yes
PS2_DRIVER = interrupt
CUSTOM_MATRIX = yes
BLUETOOTH_ENABLE = yes
WS2812_DRIVER_REQUIRED = yes
ANALOG_DRIVER_REQUIRED = yes
SRC += rgbsps.c
SRC += analog.c
SRC += matrix.c
LTO_ENABLE = yes

Some files were not shown because too many files have changed in this diff Show more