[Keyboard] Add rpk-001 keyboard (#21042)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: Joy <chang.li@westberrytech.com>
This commit is contained in:
parent
b5b900200f
commit
4520a584e4
10 changed files with 432 additions and 0 deletions
26
keyboards/phentech/rpk_001/config.h
Normal file
26
keyboards/phentech/rpk_001/config.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Copyright 2023 JoyLee (@itarze)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/* RGB Config */
|
||||
#define DRIVER_1_CS B6
|
||||
#define DRIVER_1_EN B7
|
||||
#define DRIVER_COUNT 1
|
||||
#define RGB_MATRIX_LED_COUNT 67
|
||||
|
||||
/* SPI Config */
|
||||
#define SPI_DRIVER SPIDQ
|
||||
#define SPI_SCK_PIN B3
|
||||
#define SPI_MOSI_PIN B5
|
||||
#define SPI_MISO_PIN B4
|
||||
|
||||
/* SPI Flash */
|
||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|
||||
#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
|
||||
|
||||
/* RGB Matrix */
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
#define RGB_MATRIX_KEYRELEASES
|
Loading…
Add table
Add a link
Reference in a new issue