aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/machine/i2c.go2
-rw-r--r--src/machine/machine_rp2_i2c.go (renamed from src/machine/machine_rp2040_i2c.go)4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/machine/i2c.go b/src/machine/i2c.go
index 24fbf6897..3b1b4dd4d 100644
--- a/src/machine/i2c.go
+++ b/src/machine/i2c.go
@@ -1,4 +1,4 @@
-//go:build !baremetal || atmega || nrf || sam || stm32 || fe310 || k210 || rp2040 || mimxrt1062 || (esp32c3 && !m5stamp_c3) || esp32
+//go:build !baremetal || atmega || nrf || sam || stm32 || fe310 || k210 || rp2040 || rp2350 || mimxrt1062 || (esp32c3 && !m5stamp_c3) || esp32
package machine
diff --git a/src/machine/machine_rp2040_i2c.go b/src/machine/machine_rp2_i2c.go
index f34aa259f..2552eb94e 100644
--- a/src/machine/machine_rp2040_i2c.go
+++ b/src/machine/machine_rp2_i2c.go
@@ -1,4 +1,4 @@
-//go:build rp2040
+//go:build rp2040 || rp2350
package machine
@@ -8,7 +8,7 @@ import (
"internal/itoa"
)
-// I2C on the RP2040.
+// I2C on the RP2040/RP2350
var (
I2C0 = &_I2C0
_I2C0 = I2C{