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
841
841
@$(MD5SUM) test.bin
842
842
$(TINYGO) build -size short -o test.bin -target=xiao-esp32c3 examples/machinetest
843
843
@$(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/machinetest
849
+ @$(MD5SUM) test.bin
844
850
$(TINYGO) build -size short -o test.hex -target=hifive1b examples/blinky1
845
851
@$(MD5SUM) test.hex
846
852
$(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 (
64
64
65
65
// I2C pins
66
66
const (
67
- I2C_SCL_PIN = D8
68
- I2C_SDA_PIN = D10
67
+ SCL_PIN = D8
68
+ SDA_PIN = D10
69
69
)
70
70
71
71
// USBCDC pins
Original file line number Diff line number Diff line change @@ -46,3 +46,9 @@ const (
46
46
UART_TX_PIN = TXD
47
47
UART_RX_PIN = RXD
48
48
)
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 (
64
64
// Touchscreen pins
65
65
const (
66
66
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
69
69
)
70
70
71
71
// MicroSD pins
@@ -90,8 +90,8 @@ const (
90
90
91
91
// I2C pins
92
92
const (
93
- I2C_SDA_PIN = D2
94
- I2C_SCL_PIN = D3
93
+ SDA_PIN = D2
94
+ SCL_PIN = D3
95
95
)
96
96
97
97
// SPI pins
You can’t perform that action at this time.
0 commit comments