Skip to content

Commit 15c893f

Browse files
committed
feat(firmware): 풀업저항 소프트웨어로 처리 저항 추가로 달 필요 없음
1 parent 604df89 commit 15c893f

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

config/corne.dtsi

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,37 @@
1010

1111
#include <dt-bindings/zmk/mouse.h>
1212

13-
&pinctrl {
14-
i2c1_default:i2c1_default {
15-
group1 {
16-
psels = <NRF_PSEL(TWIM_SDA, 0, 17)>,
17-
<NRF_PSEL(TWIM_SCL, 0, 20)>;
18-
// bias-disable;
19-
bias-pull-up;
20-
};
21-
};
22-
i2c1_sleep:i2c1_sleep {
23-
group1 {
24-
psels = <NRF_PSEL(TWIM_SDA, 0, 17)>,
25-
<NRF_PSEL(TWIM_SCL, 0, 20)>;
26-
// bias-disable;
27-
bias-pull-up;
28-
low-power-enable;
29-
};
30-
};
31-
32-
};
33-
34-
&i2c1{
35-
status="disabled";
36-
compatible = "nordic,nrf-twi";
37-
pinctrl-0 = <&i2c1_default>;
38-
pinctrl-1 = <&i2c1_sleep>;
39-
pinctrl-names = "default", "sleep";
40-
};
41-
42-
43-
&i2c1 {
13+
// &pinctrl {
14+
// i2c1_default:i2c1_default {
15+
// group1 {
16+
// psels = <NRF_PSEL(TWIM_SDA, 0, 17)>,
17+
// <NRF_PSEL(TWIM_SCL, 0, 20)>;
18+
// // bias-disable;
19+
// bias-pull-up;
20+
// };
21+
// };
22+
// i2c1_sleep:i2c1_sleep {
23+
// group1 {
24+
// psels = <NRF_PSEL(TWIM_SDA, 0, 17)>,
25+
// <NRF_PSEL(TWIM_SCL, 0, 20)>;
26+
// // bias-disable;
27+
// bias-pull-up;
28+
// low-power-enable;
29+
// };
30+
// };
31+
//
32+
// };
33+
//
34+
// &i2c1{
35+
// status="disabled";
36+
// compatible = "nordic,nrf-twi";
37+
// pinctrl-0 = <&i2c1_default>;
38+
// pinctrl-1 = <&i2c1_sleep>;
39+
// pinctrl-names = "default", "sleep";
40+
// }
41+
42+
43+
&pro_micro_i2c {
4444
status = "okay";
4545
clock-frequency = < 400000 >;
4646
cirque: cirque@2a {

0 commit comments

Comments
 (0)