File tree Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -841,6 +841,12 @@ endif
841841 @$(MD5SUM) test.bin
842842 $(TINYGO) build -size short -o test.bin -target=xiao-esp32c3 examples/machinetest
843843 @$(MD5SUM) test.bin
844+ $(TINYGO) build -size short -o test.bin -target=esp32-c3-devkit-rust-1 examples/blinky1
845+ @$(MD5SUM) test.bin
846+ $(TINYGO) build -size short -o test.bin -target=esp32c3-12f examples/blinky1
847+ @$(MD5SUM) test.bin
848+ $(TINYGO) build -size short -o test.bin -target=makerfabs-esp32c3spi35 examples/blinky1
849+ @$(MD5SUM) test.bin
844850 $(TINYGO) build -size short -o test.hex -target=hifive1b examples/blinky1
845851 @$(MD5SUM) test.hex
846852 $(TINYGO) build -size short -o test.hex -target=maixbit examples/blinky1
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ const (
6464
6565// I2C pins
6666const (
67- I2C_SCL_PIN = D8
68- I2C_SDA_PIN = D10
67+ SCL_PIN = D8
68+ SDA_PIN = D10
6969)
7070
7171// USBCDC pins
Original file line number Diff line number Diff line change @@ -46,3 +46,9 @@ const (
4646 UART_TX_PIN = TXD
4747 UART_RX_PIN = RXD
4848)
49+
50+ // I2C pins
51+ const (
52+ SCL_PIN = NoPin
53+ SDA_PIN = NoPin
54+ )
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ const (
6464// Touchscreen pins
6565const (
6666 TS_CS_PIN = D0
67- TS_SDA_PIN = I2C_SDA_PIN
68- TS_SCL_PIN = I2C_SCL_PIN
67+ TS_SDA_PIN = SDA_PIN
68+ TS_SCL_PIN = SCL_PIN
6969)
7070
7171// MicroSD pins
@@ -90,8 +90,8 @@ const (
9090
9191// I2C pins
9292const (
93- I2C_SDA_PIN = D2
94- I2C_SCL_PIN = D3
93+ SDA_PIN = D2
94+ SCL_PIN = D3
9595)
9696
9797// SPI pins
You can’t perform that action at this time.
0 commit comments