summaryrefslogtreecommitdiff
path: root/docs/config_options.md
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-10-12 04:25:43 +0100
committerDanny <nooges@users.noreply.github.com>2019-10-11 23:25:43 -0400
commit76378d74f522f53eebc05907d44c839455a0336b (patch)
treebeb899f965a3f20f1627b21972031bae3aa2bc27 /docs/config_options.md
parent64c075ed2c2e2ddb2da9321bf17ed911d758a9b2 (diff)
ARM split - detect USB to select master/slave (#6424)
* Initial split refactor to allow usb master detection * Add split USB detect docs * Add SPLIT_USB_DETECT demo mode limitation * fix rebase issues * clang-format
Diffstat (limited to 'docs/config_options.md')
-rw-r--r--docs/config_options.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/config_options.md b/docs/config_options.md
index 9e43f47c25..ec3d1a1c8a 100644
--- a/docs/config_options.md
+++ b/docs/config_options.md
@@ -267,6 +267,14 @@ There are a few different ways to set handedness for split keyboards (listed in
* 4: about 26kbps
* 5: about 20kbps
+* `#define SPLIT_USB_DETECT`
+ * Detect (with timeout) USB connection when delegating master/slave
+ * Default behavior for ARM
+ * Required for AVR Teensy
+
+* `#define SPLIT_USB_TIMEOUT 2500`
+ * Maximum timeout when detecting master/slave when using `SPLIT_USB_DETECT`
+
# The `rules.mk` File
This is a [make](https://www.gnu.org/software/make/manual/make.html) file that is included by the top-level `Makefile`. It is used to set some information about the MCU that we will be compiling for as well as enabling and disabling certain features.