machine: add I2C pin comments

Similar to PWM, I2C can only be used on some pins. To automatically
generate this information per board, we need to add extra comments that
can then be interpreted by doc-gen for the tinygo.org website.
This commit is contained in:
Ayke van Laethem
2025-07-10 08:39:24 +02:00
committed by Ron Evans
parent e454ad1b61
commit b3da00ac1f
7 changed files with 84 additions and 80 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ const (
PC1 = portC + 1
PC2 = portC + 2
PC3 = portC + 3
PC4 = portC + 4
PC5 = portC + 5
PC4 = portC + 4 // peripherals: I2C0 SDA
PC5 = portC + 5 // peripherals: I2C0 SCL
PC6 = portC + 6
PC7 = portC + 7
PD0 = portD + 0