373364afd1
* Initial commit of Quefrency Rev. 6 * Use more memory for storing VIA layout options * Add missing underglow LED * Set bootmagic keys for each half, split transport matrix for RGB, update pinout for right half * Enable encoders * Add/update license headers * Remove fudge thing * Remove EEPROM leveling specification now that is the default * Fix bootmagic position for right half
27 lines
740 B
C
27 lines
740 B
C
// Copyright 2024 Danny Nguyen (@nooges)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
/* Defines for the split keyboard setup */
|
|
#define SERIAL_USART_DRIVER SD3 // USART 3
|
|
#define SERIAL_USART_TX_PIN B10
|
|
#define SERIAL_USART_RX_PIN B11
|
|
#define SERIAL_USART_TX_PAL_MODE 7
|
|
#define SERIAL_USART_RX_PAL_MODE 7
|
|
#define SERIAL_USART_FULL_DUPLEX
|
|
#define SERIAL_USART_PIN_SWAP
|
|
|
|
#define USB_VBUS_PIN C6
|
|
#define SPLIT_HAND_PIN A0
|
|
|
|
/* Defines for the RGB matrix */
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
# define WS2812_PWM_DRIVER PWMD3
|
|
# define WS2812_PWM_CHANNEL 4
|
|
# define WS2812_PWM_PAL_MODE 10
|
|
# define WS2812_DMA_STREAM STM32_DMA1_STREAM2
|
|
# define WS2812_DMA_CHANNEL 2
|
|
# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM3_UP
|
|
#endif
|