fix(docs): Fix text blurb about split Kconfig.defconfig

This commit is contained in:
Cem Aksoylar 2023-12-03 22:36:04 -08:00
parent 09d47d8117
commit 384637ae6c

View file

@ -113,10 +113,11 @@ config ZMK_KEYBOARD_NAME
endif endif
``` ```
Similarly to defining the halves of a split board in `Kconfig.shield` it is important to set the `ZMK_KEYBOARD_NAME` for each half of a split keyboard. For split keyboards, `Kconfig.defconfig` needs to specify a few more options.
You'll also want to set which half is the central side. Most boards set it to the left. Which side is central (usually the left) is determined via the configuration in this file.
Then on the peripheral half, you'll want to turn USB on so that it shows USB status on displays properly. For that side, the keyboard name is assigned and the central config is set.
Finally, you'll want to turn on the split option for both sides. This can all be seen below. The peripheral side is typically not assigned a name since only the central will be advertising for connections to other devices.
Finally, the split config needs to be set for both sides:
```kconfig ```kconfig
if SHIELD_MY_BOARD_LEFT if SHIELD_MY_BOARD_LEFT