summaryrefslogtreecommitdiff
path: root/keyboards/phentech/rpk_001/config.h
blob: ad95ed6f10880466c052a1571fee7d4b6b0e66df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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 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

/* RGB Matrix */
#define RGB_MATRIX_SLEEP
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_KEYRELEASES