mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user