Skip to content

Commit

Permalink
feat(boards): Planck physical layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Sep 26, 2024
1 parent f3fb3ab commit 06a3076
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion app/boards/arm/planck/planck_rev6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include <st/f3/stm32f303c(b-c)tx-pinctrl.dtsi>
#include <dt-bindings/zmk/matrix_transform.h>

#include <layouts/common/ortho_4x12/ortho_4x12.dtsi>


/ {
model = "Plack PCD, rev6";
compatible = "planck,rev6", "st,stm32f303";
Expand All @@ -17,7 +20,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zmk,kscan = &kscan0;
zmk,matrix-transform = &layout_grid_transform;
zmk,physical-layout = &layout_40_2x1u;
};

kscan0: kscan {
Expand Down Expand Up @@ -137,3 +140,18 @@ zephyr_udc0: &usb {
};
};
};

&layout_40_2x1u {
status = "okay";
transform = <&layout_grid_transform>;
};

&layout_40_1x2u {
status = "okay";
transform = <&layout_mit_transform>;
};

&layout_40_2x2u {
status = "okay";
transform = <&layout_2x2u_transform>;
};

0 comments on commit 06a3076

Please sign in to comment.