aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/at_start_f415/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/at_start_f415/config.h')
-rw-r--r--keyboards/handwired/onekey/at_start_f415/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/at_start_f415/config.h b/keyboards/handwired/onekey/at_start_f415/config.h
index 41aece900c..7e41e7da89 100644
--- a/keyboards/handwired/onekey/at_start_f415/config.h
+++ b/keyboards/handwired/onekey/at_start_f415/config.h
@@ -4,11 +4,25 @@
#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 }