* Make it easier to test native builds of our shields by adding `posix_pro_micro` and `posix_seeed_xiao` so you can build posix target of, e.g. `corne_left` for testing ZMK Studio.
27 lines
538 B
Text
27 lines
538 B
Text
|
|
#include <dt-bindings/zmk/keys.h>
|
|
#include <dt-bindings/zmk/kscan_mock.h>
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,console = &uart0;
|
|
zmk,kscan = &kscan;
|
|
};
|
|
|
|
kscan: native_posix_64_kscan_mock {
|
|
compatible = "zmk,kscan-mock";
|
|
|
|
rows = <2>;
|
|
columns = <2>;
|
|
exit-after;
|
|
};
|
|
|
|
uart0: uart {
|
|
status = "okay";
|
|
compatible = "zephyr,native-posix-uart";
|
|
/* Dummy current-speed entry to comply with serial
|
|
* DTS binding
|
|
*/
|
|
current-speed = <0>;
|
|
};
|
|
};
|