mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 16:36:58 +00:00
Add Quefrency Rev. 6 (#24291)
* 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
This commit is contained in:
parent
557e4e7ffc
commit
373364afd1
@ -1,3 +1,6 @@
|
||||
// Copyright 2024 Danny Nguyen (@nooges)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
@ -1,20 +1,5 @@
|
||||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Jack Humbert
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
// Copyright 2024 Danny Nguyen (@nooges)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
@ -32,4 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00DE
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
||||
|
||||
#elif defined(KEYBOARD_keebio_quefrency_rev6)
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
||||
|
||||
#endif
|
||||
|
@ -1,3 +1,6 @@
|
||||
// Copyright 2024 Danny Nguyen (@nooges)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
26
keyboards/keebio/quefrency/rev6/config.h
Normal file
26
keyboards/keebio/quefrency/rev6/config.h
Normal file
@ -0,0 +1,26 @@
|
||||
// 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
|
10
keyboards/keebio/quefrency/rev6/halconf.h
Normal file
10
keyboards/keebio/quefrency/rev6/halconf.h
Normal file
@ -0,0 +1,10 @@
|
||||
// Copyright 2024 Danny Nguyen (@nooges)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_SERIAL TRUE
|
||||
|
||||
#define HAL_USE_PWM TRUE
|
||||
|
||||
#include_next <halconf.h>
|
633
keyboards/keebio/quefrency/rev6/keyboard.json
Normal file
633
keyboards/keebio/quefrency/rev6/keyboard.json
Normal file
File diff suppressed because it is too large
Load Diff
14
keyboards/keebio/quefrency/rev6/mcuconf.h
Normal file
14
keyboards/keebio/quefrency/rev6/mcuconf.h
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright 2024 Danny Nguyen (@nooges)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
/* enable USART3, used for split comms */
|
||||
#undef STM32_SERIAL_USE_USART3
|
||||
#define STM32_SERIAL_USE_USART3 TRUE
|
||||
|
||||
/* enable TIM3, used for RGB LED PWM driver */
|
||||
#undef STM32_PWM_USE_TIM3
|
||||
#define STM32_PWM_USE_TIM3 TRUE
|
11
keyboards/keebio/quefrency/rev6/rev6.c
Normal file
11
keyboards/keebio/quefrency/rev6/rev6.c
Normal file
@ -0,0 +1,11 @@
|
||||
// Copyright 2024 Danny Nguyen (@nooges)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
// Disable the PD peripheral in pre-init because its pins are being used in the matrix:
|
||||
PWR->CR3 |= PWR_CR3_UCPD_DBDIS;
|
||||
// Call the corresponding _user() function (see https://docs.qmk.fm/#/custom_quantum_functions)
|
||||
keyboard_pre_init_user();
|
||||
}
|
1
keyboards/keebio/quefrency/rev6/rules.mk
Normal file
1
keyboards/keebio/quefrency/rev6/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
SERIAL_DRIVER = usart
|
Loading…
x
Reference in New Issue
Block a user