1
0
Fork 0

splitkb/kyria: remove CONVERT_TO at keyboard level (#23857)

This commit is contained in:
Ryan 2024-06-11 13:25:51 +10:00 committed by GitHub
parent e381f91c6e
commit 354a2e40cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 149 additions and 114 deletions

View file

@ -0,0 +1,17 @@
// Copyright 2024 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
#define SERIAL_USART_PIN_SWAP // Swap TX and RX pins if keyboard is master halve.
#define SERIAL_USART_DRIVER SD1 // USART driver of TX pin. default: SD1
#define SERIAL_USART_TX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7
#define SERIAL_USART_TX_PIN A9
#define SERIAL_USART_RX_PIN A10
#define WS2812_PWM_CHANNEL 4
#define WS2812_PWM_PAL_MODE 1
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_PWM_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU.

View file

@ -1,5 +1,26 @@
{
"development_board": "proton_c",
"matrix_pins": {
"cols": ["B9", "B15", "B14", "B13", "B8", "A0", "A1", "A2"],
"rows": ["B1", "B2", "B3", "B5"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "B0"}
]
},
"split": {
"encoder": {
"right": {
"rotary": [
{"pin_a": "B0", "pin_b": "B4"}
]
}
}
},
"ws2812": {
"driver": "pwm"
"driver": "pwm",
"pin": "A3"
}
}

View file

@ -1,2 +1 @@
SERIAL_DRIVER = usart
CONVERT_TO = proton_c