rp2040: implement I2C

This implements I2C for the rp2040 target. All output groupings of both
I2C blocks are available for use.

Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
This commit is contained in:
Lasse Dalegaard
2021-12-12 12:13:13 +01:00
committed by KevinOConnor
parent 6e6ad7b520
commit 090fcf928f
4 changed files with 227 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ config RP2040_SELECT
select HAVE_GPIO
select HAVE_GPIO_ADC
select HAVE_GPIO_SPI
select HAVE_GPIO_I2C
select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID