Update docs/docs/features/dongle.mdx

Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com>
This commit is contained in:
Rasmus Koit 2024-08-11 21:20:32 +03:00 committed by GitHub
parent c791f9fd9d
commit a27a553db9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,28 +179,13 @@ CONFIG_ZMK_SPLIT=y
Before flashing your new firmware, flash the `settings_reset` firmware on all devices.
:::
For a split keyboard, you can modify the `build.yml` file to include the dongle configuration.
Add the appropriate lines to your `build.yml` file to build the firmware for your dongle, in addition to the other parts of your keyboard.
```yaml
include:
- board: nice_nano_v2
shield: my_keyboard_left
- board: nice_nano_v2
shield: my_keyboard_right
# -----------------------------------------
# Your other keyboard parts here
# -----------------------------------------
- board: nice_nano_v2
shield: my_keyboard_dongle
- board: nice_nano_v2
shield: settings_reset
```
For a unibody keyboard, you can modify the `build.yml` file to include the dongle configuration.
```yaml
include:
- board: nice_nano_v2
shield: my_keyboard
- board: nice_nano_v2
shield: my_keyboard_dongle
- board: nice_nano_v2
shield: settings_reset
```