@@ -322,7 +322,7 @@ const pbdrv_ioport_platform_data_t pbdrv_ioport_platform_data[PBDRV_CONFIG_IOPOR
322322 #if PBDRV_CONFIG_UART_DEBUG_FIRST_PORT
323323 .supported_modes = PBIO_PORT_MODE_UART ,
324324 #else // PBDRV_CONFIG_UART_DEBUG_FIRST_PORT
325- .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_LEGO_DCM ,
325+ .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_I2C | PBIO_PORT_MODE_LEGO_DCM ,
326326 #endif
327327 },
328328 {
@@ -345,7 +345,7 @@ const pbdrv_ioport_platform_data_t pbdrv_ioport_platform_data[PBDRV_CONFIG_IOPOR
345345 .adc_p1 = 8 ,
346346 .adc_p6 = 7 ,
347347 },
348- .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_LEGO_DCM ,
348+ .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_I2C | PBIO_PORT_MODE_LEGO_DCM ,
349349 },
350350 {
351351 .port_id = PBIO_PORT_ID_3 ,
@@ -367,7 +367,7 @@ const pbdrv_ioport_platform_data_t pbdrv_ioport_platform_data[PBDRV_CONFIG_IOPOR
367367 .adc_p1 = 10 ,
368368 .adc_p6 = 9 ,
369369 },
370- .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_LEGO_DCM ,
370+ .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_I2C | PBIO_PORT_MODE_LEGO_DCM ,
371371 },
372372 {
373373 .port_id = PBIO_PORT_ID_4 ,
@@ -389,7 +389,7 @@ const pbdrv_ioport_platform_data_t pbdrv_ioport_platform_data[PBDRV_CONFIG_IOPOR
389389 .adc_p1 = 12 ,
390390 .adc_p6 = 11 ,
391391 },
392- .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_LEGO_DCM ,
392+ .supported_modes = PBIO_PORT_MODE_UART | PBIO_PORT_MODE_I2C | PBIO_PORT_MODE_LEGO_DCM ,
393393 },
394394};
395395
0 commit comments