summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-12-11 14:04:29 +0100
committerGitHub <noreply@github.com>2022-12-11 14:04:29 +0100
commit9dc3f791965e4c54bc969dcc2f2c7597f59e2262 (patch)
tree367f6a64235f0027c4ccf50fb07de0e8e7efcc52 /docs
parentf67f787cc299380184599e2e5176aaae9fa82058 (diff)
[RP2040] update i2c drivers to reflect peripheral number (#19277)
Diffstat (limited to 'docs')
-rw-r--r--docs/platformdev_rp2040.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/platformdev_rp2040.md b/docs/platformdev_rp2040.md
index 3a6f1a1683..11a93edd89 100644
--- a/docs/platformdev_rp2040.md
+++ b/docs/platformdev_rp2040.md
@@ -38,8 +38,8 @@ QMK RP2040 support builds upon ChibiOS and thus follows their convention for act
| RP2040 Peripheral | `mcuconf.h` values | `I2C_DRIVER` |
| ----------------- | ------------------ | ------------ |
-| `I2C0` | `RP_I2C_USE_I2C0` | `I2CD1` |
-| `I2C1` | `RP_I2C_USE_I2C1` | `I2CD2` |
+| `I2C0` | `RP_I2C_USE_I2C0` | `I2CD0` |
+| `I2C1` | `RP_I2C_USE_I2C1` | `I2CD1` |
To configure the I2C driver please read the [ChibiOS/ARM](i2c_driver.md#arm-configuration) section.
@@ -74,7 +74,7 @@ This is the default board that is chosen, unless any other RP2040 board is selec
| Driver configuration define | Value |
| -------------------------------------------------------------------------- | ------------------------------------ |
| **I2C driver** | |
-| `I2C_DRIVER` | `I2CD2` |
+| `I2C_DRIVER` | `I2CD1` |
| `I2C1_SDA_PIN` | `GP2` |
| `I2C1_SCL_PIN` | `GP3` |
| **SPI driver** | |