Skip to content

Commit c8ea058

Browse files
committed
移除 crosses 左右屏幕的 I2C 配置和 OLED 驱动设置
1 parent 5e9e389 commit c8ea058

4 files changed

Lines changed: 0 additions & 77 deletions

File tree

build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
include:
1616
- board: nice_nano_v2
1717
shield: crosses_left
18-
snippet: studio-rpc-usb-uart
1918
- board: nice_nano_v2
2019
shield: crosses_right
2120
snippet: studio-rpc-usb-uart

config/boards/shields/crosses/crosses_left.overlay

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,3 @@
1616

1717
;
1818
};
19-
20-
21-
&pinctrl {
22-
i2c0_default: i2c0_default {
23-
group1 {
24-
psels = <NRF_PSEL(TWIM_SDA, 1, 4)>,
25-
<NRF_PSEL(TWIM_SCL, 1, 6)>;
26-
bias-pull-up;
27-
};
28-
};
29-
};
30-
31-
32-
&i2c0 {
33-
status = "okay";
34-
compatible = "nordic,nrf-twim";
35-
clock-frequency = <100000>;
36-
pinctrl-0 = <&i2c0_default>;
37-
pinctrl-names = "default";
38-
39-
oled: ssd1306@3c {
40-
compatible = "solomon,ssd1306fb";
41-
reg = <0x3C>;
42-
width = <128>;
43-
height = <32>;
44-
segment-offset = <0>;
45-
page-offset = <0>;
46-
display-offset = <0>;
47-
multiplex-ratio = <31>;
48-
segment-remap;
49-
com-invdir;
50-
com-sequential;
51-
prechargep = <0x22>;
52-
};
53-
};

config/boards/shields/crosses/crosses_right.overlay

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -73,38 +73,3 @@
7373
};
7474
};
7575

76-
77-
78-
&pinctrl {
79-
i2c0_default: i2c0_default {
80-
group1 {
81-
psels = <NRF_PSEL(TWIM_SDA, 1, 4)>,
82-
<NRF_PSEL(TWIM_SCL, 1, 6)>;
83-
bias-pull-up;
84-
};
85-
};
86-
};
87-
88-
89-
&i2c0 {
90-
status = "okay";
91-
compatible = "nordic,nrf-twim";
92-
clock-frequency = <100000>;
93-
pinctrl-0 = <&i2c0_default>;
94-
pinctrl-names = "default";
95-
96-
oled: ssd1306@3c {
97-
compatible = "solomon,ssd1306fb";
98-
reg = <0x3C>;
99-
width = <128>;
100-
height = <32>;
101-
segment-offset = <0>;
102-
page-offset = <0>;
103-
display-offset = <0>;
104-
multiplex-ratio = <31>;
105-
segment-remap;
106-
com-invdir;
107-
com-sequential;
108-
prechargep = <0x22>;
109-
};
110-
};

config/crosses.conf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,3 @@ CONFIG_ZMK_EXT_POWER=y
1919
# CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=15
2020

2121
CONFIG_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

0 commit comments

Comments
 (0)