summaryrefslogtreecommitdiffstats
path: root/keyboards/annepro2/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/annepro2/mcuconf.h')
-rw-r--r--keyboards/annepro2/mcuconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/annepro2/mcuconf.h b/keyboards/annepro2/mcuconf.h
index 8265fe6eb9..9e39bd9681 100644
--- a/keyboards/annepro2/mcuconf.h
+++ b/keyboards/annepro2/mcuconf.h
@@ -60,3 +60,11 @@
#define HT32_USB_USE_USB0 TRUE
#define HT32_USB_USB0_IRQ_PRIORITY 5
+
+/*
+ * SPI driver setting
+ */
+
+#define HT32_SPI_USE_SPI1 TRUE
+#define HT32_SPI1_IRQ_PRIORITY 9
+