Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/boards/arm/puchi_ble/puchi_ble_v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@

&uart0 {
compatible = "nordic,nrf-uarte";
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
Expand Down
2 changes: 2 additions & 0 deletions app/boards/blackpill_f401cc.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@
blackpill_i2c: &i2c1 {};
blackpill_spi: &spi1 {};
blackpill_serial: &usart1 {};

&blackpill_serial { status = "disabled"; };
2 changes: 2 additions & 0 deletions app/boards/blackpill_f401ce.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@
blackpill_i2c: &i2c1 {};
blackpill_spi: &spi1 {};
blackpill_serial: &usart1 {};

&blackpill_serial { status = "disabled"; };
2 changes: 2 additions & 0 deletions app/boards/blackpill_f411ce.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@
blackpill_i2c: &i2c1 {};
blackpill_spi: &spi1 {};
blackpill_serial: &usart1 {};

&blackpill_serial { status = "disabled"; };
9 changes: 9 additions & 0 deletions app/boards/shields/ergodash/ergodash.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,14 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,13) RC(4,12
, <&pro_micro 16 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
};

wired_split {
compatible = "zmk,wired-split";
device = <&pro_micro_serial>;
};
};

&pro_micro_serial {
status = "okay";
};

Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
4 changes: 4 additions & 0 deletions app/boards/shields/nice_view_adapter/boards/mikoto.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
4 changes: 4 additions & 0 deletions app/boards/shields/nice_view_adapter/boards/nice_nano.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ nice_view_spi: &spi0 {
&pro_micro_i2c {
status = "disabled";
};

&pro_micro_serial {
status = "disabled";
};
14 changes: 12 additions & 2 deletions docs/docs/development/hardware-integration/new-shield.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,19 @@ If testing the experimental [wired split](../../features/split-keyboards.md) sup
};
```

See the [wired split](../../config/split.md#wired-split) configuration for more details.
Your shield should also ensure that the UART device used in `zmk,wired-split` is enabled, as we disable the predefined UART devices by default.

For wireless split keyboards, this step should be skipped, especially since the UART pins on your controller might already be in use for other functionality.
```dts
&pro_micro_serial {
status = "okay";
};
```

Note that enabling the UART device will prevent its pins from being used for any other purpose. For split shields to be used by both BLE-capable and BLE-incapable boards, you should setup the wired split. If a BLE-capable board is selected, the split interconnect will default to BLE, otherwise it will fall back to the wired split transport.
If you have an optional hardware add-on that makes use of the UART pins when used wirelessly, define said add-on in a separate shield and have that shield disable the UART device.
The in-tree `nice_view_adapter` is an example of such a shield, disabling the UART device so that one of the pins can be used for SPI instead.

See the [wired split](../../config/split.md#wired-split) configuration for more details.

</TabItem>
</SplitTabs>
Expand Down