Skip to content

Commit 8118db1

Browse files
committed
[bsp][rtduino]: update soft i2c bus names in arduino pinout
1 parent 6998adf commit 8118db1

43 files changed

Lines changed: 89 additions & 89 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ const pin_map_t pin_map_table[]=
3838
{D11, BSP_IO_PORT_05_PIN_12, "pwm0", 0}, /* PWM */
3939
{D12, BSP_IO_PORT_05_PIN_11},
4040
{D13, BSP_IO_PORT_02_PIN_04},
41-
{D14, BSP_IO_PORT_02_PIN_03, "i2c0"}, /* I2C-SDA (Soft Wire) */
42-
{D15, BSP_IO_PORT_02_PIN_02, "i2c0"}, /* I2C-SCL (Soft Wire) */
41+
{D14, BSP_IO_PORT_02_PIN_03, "swi2c0"}, /* I2C-SDA (Soft Wire) */
42+
{D15, BSP_IO_PORT_02_PIN_02, "swi2c0"}, /* I2C-SCL (Soft Wire) */
4343
{A0, BSP_IO_PORT_00_PIN_00, "adc0", 0}, /* ADC */
4444
{A1, BSP_IO_PORT_00_PIN_01, "adc0", 1}, /* ADC */
4545
{A2, BSP_IO_PORT_00_PIN_02, "adc0", 2}, /* ADC */

bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939

4040
#define F_CPU 120000000L /* CPU:120MHz */
4141

42-
/* i2c0 : P203-SDA P202-SCL */
43-
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c0"
42+
/* swi2c0 : P203-SDA P202-SCL */
43+
#define RTDUINO_DEFAULT_IIC_BUS_NAME "swi2c0"
4444

4545
/* Serial4(uart4) : P205-TX P206-RX */
4646
#define RTDUINO_SERIAL2_DEVICE_NAME "uart4"

bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/pins_arduino.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ const pin_map_t pin_map_table[]=
3939
{D11, GET_PIN(A,7), "pwm17", 1}, /* PWM */
4040
{D12, GET_PIN(A,6)},
4141
{D13, GET_PIN(A,5)}, /* LED_BUILTIN */
42-
{D14, GET_PIN(B,9), "i2c1"}, /* I2C-SDA (Wire) */
43-
{D15, GET_PIN(B,8), "i2c1"}, /* I2C-SCL (Wire) */
42+
{D14, GET_PIN(B,9), "swi2c1"}, /* I2C-SDA (Wire) */
43+
{D15, GET_PIN(B,8), "swi2c1"}, /* I2C-SCL (Wire) */
4444
{D16, GET_PIN(C,13)}, /* USER KEY */
4545
{A0, GET_PIN(A,0), "adc1", 0}, /* ADC */
4646
{A1, GET_PIN(A,1), "adc1", 1}, /* ADC */

bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/pins_arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444

4545
#define LED_BUILTIN D13 /* Default Built-in LED */
4646

47-
/* i2c1 - PB9-SDA PB8-SCL */
48-
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
47+
/* swi2c1 - PB9-SDA PB8-SCL */
48+
#define RTDUINO_DEFAULT_IIC_BUS_NAME "swi2c1"
4949

5050
#define SS D10
5151
#define RTDUINO_DEFAULT_SPI_BUS_NAME "spi1"

bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const pin_map_t pin_map_table[]=
3535
{D11, GET_PIN(A,0)},
3636
{D12, GET_PIN(B,0), "pwm3", 3}, /* PWM */
3737
{D13, GET_PIN(B,1), "pwm3", 4}, /* PWM */
38-
{D14, GET_PIN(B,9), "i2c1"}, /* I2C-SDA (Wire) */
39-
{D15, GET_PIN(B,8), "i2c1"}, /* I2C-SCL (Wire) */
38+
{D14, GET_PIN(B,9), "swi2c1"}, /* I2C-SDA (Wire) */
39+
{D15, GET_PIN(B,8), "swi2c1"}, /* I2C-SCL (Wire) */
4040
{D16, GET_PIN(A,12), "usb"}, /* SerialUSB */
4141
{D17, GET_PIN(A,11), "usb"}, /* SerialUSB */
4242
{D18, GET_PIN(A,10), "uart1"}, /* Serial-Rx */

bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353

5454
#define LED_BUILTIN D8 /* Default Built-in LED */
5555

56-
/* i2c1 : PB9-SDA PB8-SCL */
57-
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
56+
/* swi2c1 : PB9-SDA PB8-SCL */
57+
#define RTDUINO_DEFAULT_IIC_BUS_NAME "swi2c1"
5858

5959
/* spi2 : PB13-SCK PB14-MISO PB15-MOSI */
6060
#define SS D7 /* Chip select pin of default spi */

bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/pins_arduino.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ const pin_map_t pin_map_table[]=
3939
{D11, GET_PIN(A,7), "pwm1", -1}, /* PWM */
4040
{D12, GET_PIN(A,6)},
4141
{D13, GET_PIN(A,5)}, /* LED_BUILTIN */
42-
{D14, GET_PIN(B,9), "i2c1"}, /* I2C-SDA (Wire) */
43-
{D15, GET_PIN(B,8), "i2c1"}, /* I2C-SCL (Wire) */
42+
{D14, GET_PIN(B,9), "swi2c1"}, /* I2C-SDA (Wire) */
43+
{D15, GET_PIN(B,8), "swi2c1"}, /* I2C-SCL (Wire) */
4444
{D16, GET_PIN(C,13)}, /* USER KEY */
4545
{A0, GET_PIN(A,0), "adc1", 0}, /* ADC */
4646
{A1, GET_PIN(A,1), "adc1", 1}, /* ADC */

bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/pins_arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444

4545
#define LED_BUILTIN D13 /* Default Built-in LED */
4646

47-
/* i2c1 - PB9-SDA PB8-SCL */
48-
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
47+
/* swi2c1 - PB9-SDA PB8-SCL */
48+
#define RTDUINO_DEFAULT_IIC_BUS_NAME "swi2c1"
4949

5050
#define SS D10
5151
#define RTDUINO_DEFAULT_SPI_BUS_NAME "spi1"

bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/pins_arduino.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
const pin_map_t pin_map_table[]=
2323
{
2424
{D0, GET_PIN(C,13)}, /* LED_BUILTIN */
25-
{D1, GET_PIN(C,14), "i2c1"}, /* I2C-SDA (Wire) */
26-
{D2, GET_PIN(C,15), "i2c1"}, /* I2C-SCL (Wire) */
25+
{D1, GET_PIN(C,14), "swi2c1"}, /* I2C-SDA (Wire) */
26+
{D2, GET_PIN(C,15), "swi2c1"}, /* I2C-SCL (Wire) */
2727
{D3, GET_PIN(A,2), "uart2"}, /* Serial2-TX */
2828
{D4, GET_PIN(A,3), "uart2"}, /* Serial2-RX */
2929
{D5, GET_PIN(B,2)},

bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/pins_arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353

5454
#define LED_BUILTIN D0 /* Default Built-in LED */
5555

56-
/* i2c1 : PC14-SDA PC15-SCL */
57-
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
56+
/* swi2c1 : PC14-SDA PC15-SCL */
57+
#define RTDUINO_DEFAULT_IIC_BUS_NAME "swi2c1"
5858

5959
/* Serial2 : PA2-TX PA3-RX */
6060
#define RTDUINO_SERIAL2_DEVICE_NAME "uart2"

0 commit comments

Comments
 (0)