diff options
Diffstat (limited to 'keyboards/handwired/onekey/at_start_f415/config.h')
-rw-r--r-- | keyboards/handwired/onekey/at_start_f415/config.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/keyboards/handwired/onekey/at_start_f415/config.h b/keyboards/handwired/onekey/at_start_f415/config.h index 0e47e813c5..7e41e7da89 100644 --- a/keyboards/handwired/onekey/at_start_f415/config.h +++ b/keyboards/handwired/onekey/at_start_f415/config.h @@ -1,14 +1,28 @@ -// Copyright 2023-2024 HorrorTroll <https://github.com/HorrorTroll> -// Copyright 2023-2024 Zhaqian <https://github.com/zhaqian12> +// Copyright 2023-2025 HorrorTroll <https://github.com/HorrorTroll> +// Copyright 2023-2025 Zhaqian <https://github.com/zhaqian12> // SPDX-License-Identifier: GPL-2.0-or-later #pragma once +/* ADC pin */ #define ADC_PIN A0 +/* Backlight configs */ #define BACKLIGHT_PWM_DRIVER PWMD5 #define BACKLIGHT_PWM_CHANNEL 1 +/* LCD configs */ +#define LCD_RST_PIN A2 +#define LCD_DC_PIN A3 +#define LCD_CS_PIN A4 + +/* SPI pins */ +#define SPI_DRIVER SPID1 +#define SPI_SCK_PIN A5 +#define SPI_MOSI_PIN A7 +#define SPI_MISO_PIN A6 + +/* Haptic configs */ #define SOLENOID_PIN B12 #define SOLENOID_PINS { B12, B13, B14, B15 } #define SOLENOID_PINS_ACTIVE_STATE { high, high, low } |