summaryrefslogtreecommitdiff
path: root/keyboards/sharkoon/skiller_sgk50_s2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sharkoon/skiller_sgk50_s2/config.h')
-rw-r--r--keyboards/sharkoon/skiller_sgk50_s2/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/sharkoon/skiller_sgk50_s2/config.h b/keyboards/sharkoon/skiller_sgk50_s2/config.h
new file mode 100644
index 0000000000..1d0f8f9a90
--- /dev/null
+++ b/keyboards/sharkoon/skiller_sgk50_s2/config.h
@@ -0,0 +1,13 @@
+// Copyright 2024 JoyLee (@itarze)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/* SPI Config for spi flash*/
+#define SPI_DRIVER SPIDQ
+#define SPI_SCK_PIN B3
+#define SPI_MOSI_PIN B5
+#define SPI_MISO_PIN B4
+#define SPI_MOSI_PAL_MODE 5
+
+#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12