local build

This commit is contained in:
alko
2026-05-20 16:47:58 +05:00
parent f9f911f2c5
commit e7cdf38007
9 changed files with 1083 additions and 106 deletions

View File

@@ -11,6 +11,17 @@
chosen {
zmk,kscan = &kscan0;
zmk,physical-layout = &default_layout;
zmk,battery = &vbatt;
};
vbatt: battery-divider {
compatible = "zmk,battery-voltage-divider";
label = "BATTERY";
/* PIN AIN6 (P0.31) */
io-channels = <&adc 6>;
/* Embedded nice!nano divider (100k / 100k) */
output-ohms = <100000>;
full-ohms = <200000>;
};
kscan0: kscan {
@@ -121,5 +132,4 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) RC(4,8) RC(4,9)
>;
};
};