summaryrefslogtreecommitdiffstats
path: root/keyboards/annepro2/mcuconf.h
diff options
context:
space:
mode:
authorjpe230 <pablin.123.ra@gmail.com>2022-06-29 20:07:43 -0500
committerGitHub <noreply@github.com>2022-06-30 11:07:43 +1000
commit4f124574f1087ab40c2630adc10e492f895cefdb (patch)
tree00c0c474015cf6e752bd7ee9097a61ed8073624b /keyboards/annepro2/mcuconf.h
parentfb05b491e787fa1be19c66c75f4f80a6e8abddca (diff)
(develop)AP2: Enable support for WL EEPROM Driver (#17506)
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
+