machine: add I2C support for ESP32-C6

Generalize the shared esp32xx I2C implementation to also cover the
ESP32-C6 and add the chip-specific code.

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2026-06-25 20:50:49 +02:00
committed by Ron Evans
parent df09dbdf0f
commit 3fb0a90854
6 changed files with 56 additions and 5 deletions
+2
View File
@@ -963,6 +963,8 @@ ifneq ($(XTENSA), 0)
# xiao-esp32c6
$(TINYGO) build -size short -o test.bin -target=xiao-esp32c6 examples/blinky1
@$(MD5SUM) test.bin
$(TINYGO) build -size short -o test.bin -target=xiao-esp32c6 examples/blinkm
@$(MD5SUM) test.bin
# xiao-esp32s3
$(TINYGO) build -size short -o test.bin -target=xiao-esp32s3 examples/blinky1
@$(MD5SUM) test.bin