File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515include :
1616 - board : nice_nano_v2
1717 shield : crosses_left
18+ snippet : studio-rpc-usb-uart
1819 - board : nice_nano_v2
1920 shield : crosses_right
2021 snippet : studio-rpc-usb-uart
Original file line number Diff line number Diff line change 5353 chosen {
5454 zmk,kscan = &kscan0;
5555 zmk,physical-layout = &crosses_layout;
56+ zephyr,display = &oled;
5657 };
5758
5859 default_transform: keymap_transform_0 {
Original file line number Diff line number Diff line change 1818};
1919
2020
21+ &i2c0 {
22+ status = "okay";
23+ compatible = "nordic,nrf-twim";
24+ clock-frequency = <100000>;
25+ sda-pin = <8>;
26+ scl-pin = <8>;
27+ };
28+
29+ &i2c0 {
30+ oled: ssd1306@3c {
31+ compatible = "solomon,ssd1306fb";
32+ reg = <0x3C>;
33+ width = <128>;
34+ height = <32>;
35+ segment-offset = <0>;
36+ page-offset = <0>;
37+ display-offset = <0>;
38+ multiplex-ratio = <31>;
39+ segment-remap;
40+ com-invdir;
41+ com-sequential;
42+ prechargep = <0x22>;
43+ };
44+ };
Original file line number Diff line number Diff line change 7474};
7575
7676
77+
78+ &i2c0 {
79+ status = "okay";
80+ compatible = "nordic,nrf-twim";
81+ clock-frequency = <100000>;
82+ sda-pin = <8>;
83+ scl-pin = <8>;
84+ };
85+
86+ &i2c0 {
87+ oled: ssd1306@3c {
88+ compatible = "solomon,ssd1306fb";
89+ reg = <0x3C>;
90+ width = <128>;
91+ height = <32>;
92+ segment-offset = <0>;
93+ page-offset = <0>;
94+ display-offset = <0>;
95+ multiplex-ratio = <31>;
96+ segment-remap;
97+ com-invdir;
98+ com-sequential;
99+ prechargep = <0x22>;
100+ };
101+ };
Original file line number Diff line number Diff line change @@ -19,3 +19,9 @@ CONFIG_ZMK_EXT_POWER=y
1919# CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=15
2020
2121CONFIG_ZMK_KEYBOARD_NAME="Crosses 35"
22+
23+ CONFIG_ZMK_DISPLAY=y
24+ CONFIG_ZMK_WIDGET_LAYER_STATUS=y
25+ CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
26+ CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y
27+ CONFIG_ZMK_WIDGET_WPM_STATUS=y
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ manifest:
1212 - name : zmk-pmw3610-driver
1313 remote : DoctorWangWang
1414 revision : main
15- - name : zmk-nice-oled-zz
16- url : https://github.com/zzuse/zmk-nice-oled-zz
17- revision : main
1815
1916 self :
2017 path : config
You can’t perform that action at this time.
0 commit comments