samd/machine_i2c: Add the machine.I2C class.

Using the common API.  Tested with SAMD21 and SAMD51 boards.
This commit is contained in:
robert-hh
2022-06-05 18:11:06 +02:00
committed by Damien George
parent aa870708ac
commit 94d27ae28f
6 changed files with 277 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ SRC_C = \
clock_config.c \
help.c \
machine_adc.c \
machine_i2c.c \
machine_led.c \
machine_pin.c \
machine_spi.c \
@@ -143,6 +144,7 @@ endif
# List of sources for qstr extraction
SRC_QSTR += \
machine_adc.c \
machine_i2c.c \
machine_led.c \
machine_pin.c \
machine_pwm.c \