Skip to content

Commit d0af988

Browse files
committed
[feat][soft_i2c]:change soft i2c default bus name
1 parent 38c007a commit d0af988

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

components/drivers/i2c/Kconfig

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if RT_USING_I2C
3737
default 2
3838
config RT_SOFT_I2C0_BUS_NAME
3939
string "Bus name"
40-
default "i2c0"
40+
default "softi2c0"
4141
config RT_SOFT_I2C0_TIMING_DELAY
4242
int "Timing delay (us)"
4343
range 0 32767
@@ -61,7 +61,7 @@ if RT_USING_I2C
6161
default 4
6262
config RT_SOFT_I2C1_BUS_NAME
6363
string "Bus name"
64-
default "i2c1"
64+
default "softi2c1"
6565
config RT_SOFT_I2C1_TIMING_DELAY
6666
int "Timing delay (us)"
6767
range 0 32767
@@ -85,7 +85,7 @@ if RT_USING_I2C
8585
default 6
8686
config RT_SOFT_I2C2_BUS_NAME
8787
string "Bus name"
88-
default "i2c2"
88+
default "softi2c2"
8989
config RT_SOFT_I2C2_TIMING_DELAY
9090
int "Timing delay (us)"
9191
range 0 32767
@@ -109,7 +109,7 @@ if RT_USING_I2C
109109
default 8
110110
config RT_SOFT_I2C3_BUS_NAME
111111
string "Bus name"
112-
default "i2c3"
112+
default "softi2c3"
113113
config RT_SOFT_I2C3_TIMING_DELAY
114114
int "Timing delay (us)"
115115
range 0 32767
@@ -133,7 +133,7 @@ if RT_USING_I2C
133133
default 10
134134
config RT_SOFT_I2C4_BUS_NAME
135135
string "Bus name"
136-
default "i2c4"
136+
default "softi2c4"
137137
config RT_SOFT_I2C4_TIMING_DELAY
138138
int "Timing delay (us)"
139139
range 0 32767
@@ -157,7 +157,7 @@ if RT_USING_I2C
157157
default 12
158158
config RT_SOFT_I2C5_BUS_NAME
159159
string "Bus name"
160-
default "i2c5"
160+
default "softi2c5"
161161
config RT_SOFT_I2C5_TIMING_DELAY
162162
int "Timing delay (us)"
163163
range 0 32767
@@ -181,7 +181,7 @@ if RT_USING_I2C
181181
default 14
182182
config RT_SOFT_I2C6_BUS_NAME
183183
string "Bus name"
184-
default "i2c6"
184+
default "softi2c6"
185185
config RT_SOFT_I2C6_TIMING_DELAY
186186
int "Timing delay (us)"
187187
range 0 32767
@@ -205,7 +205,7 @@ if RT_USING_I2C
205205
default 16
206206
config RT_SOFT_I2C7_BUS_NAME
207207
string "Bus name"
208-
default "i2c7"
208+
default "softi2c7"
209209
config RT_SOFT_I2C7_TIMING_DELAY
210210
int "Timing delay (us)"
211211
range 0 32767
@@ -229,7 +229,7 @@ if RT_USING_I2C
229229
default 18
230230
config RT_SOFT_I2C8_BUS_NAME
231231
string "Bus name"
232-
default "i2c8"
232+
default "softi2c8"
233233
config RT_SOFT_I2C8_TIMING_DELAY
234234
int "Timing delay (us)"
235235
range 0 32767

0 commit comments

Comments
 (0)