summaryrefslogtreecommitdiff
path: root/keyboards/handwired/splittest/bluepill/mcuconf.h
diff options
context:
space:
mode:
authordvermd <315743+dvermd@users.noreply.github.com>2022-08-03 10:31:37 +0200
committerGitHub <noreply@github.com>2022-08-03 09:31:37 +0100
commit0206bd9df31521fcfd764c3dd4cff383e4957151 (patch)
tree38873d759919be585d3d3db74daa1cd756322621 /keyboards/handwired/splittest/bluepill/mcuconf.h
parentb6757d2380d32b5f60f61ffc42d27c40eb219208 (diff)
add bluepill mcu to splittest (#16959)
* add bluepill mcu to splittest * fix typo * refactoring * mcu config goes to mcuconf.h of keyboard * keymap specific config goes to keymap config.h * keyboard specific depending of keymap goes to post_config.h * Apply suggested change Co-authored-by: Ryan <fauxpark@gmail.com> * Apply suggested change Co-authored-by: Ryan <fauxpark@gmail.com> * Apply suggested change Co-authored-by: Ryan <fauxpark@gmail.com> * Apply suggested change Co-authored-by: Ryan <fauxpark@gmail.com> * Apply suggested change Co-authored-by: Ryan <fauxpark@gmail.com> * splittest/bluepill: improve documentation Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/splittest/bluepill/mcuconf.h')
-rw-r--r--keyboards/handwired/splittest/bluepill/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/handwired/splittest/bluepill/mcuconf.h b/keyboards/handwired/splittest/bluepill/mcuconf.h
new file mode 100644
index 0000000000..875819537f
--- /dev/null
+++ b/keyboards/handwired/splittest/bluepill/mcuconf.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include_next <mcuconf.h>
+
+// These are needed if the communication is on the SD1 USART, either with standard or alternate pins
+#undef STM32_SERIAL_USE_USART1
+#define STM32_SERIAL_USE_USART1 TRUE
+
+// These are needed if the communication is on the SD2 USART, either with standard or alternate pins
+#undef STM32_SERIAL_USE_USART2
+#define STM32_SERIAL_USE_USART2 TRUE