Remove I2C0 initialization code from the BSP.
This code assumed that pins 26 and 28 would be used for I2C, but this is not dictated by the design.  It does not belong in the generic BSP.
@@ -76,14 +76,6 @@ static const struct nrf52_hal_spi_cfg os_bsp_spi0m_cfg = {
};
#endif
-#if MYNEWT_VAL(I2C_0)
-static const struct nrf52_hal_i2c_cfg hal_i2c_cfg = {
- .scl_pin = 26,
- .sda_pin = 28,
- .i2c_frequency = 100 /* 100 kHz */
-};
-#endif
-
/*
* What memory to include in coredump.
*/
@@ -185,11 +177,6 @@ hal_bsp_init(void)
assert(rc == 0);
#endif
-#if MYNEWT_VAL(I2C_0)
- rc = hal_i2c_init(0, (void *)&hal_i2c_cfg);
- assert(rc == 0);
-#endif
-
#if MYNEWT_VAL(SPI_0_MASTER)
rc = hal_spi_init(0, (void *)&os_bsp_spi0m_cfg, HAL_SPI_TYPE_MASTER);
assert(rc == 0);
