mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
180220a2e3
* esp32s3-i2c implement interface * esp32s3-i2c: disable m5stamp_c3 * added simple tests without Listen * replace smoke tests * esp32s3-i2c: fix allocation in tx
19 lines
366 B
Go
19 lines
366 B
Go
//go:build esp32s3_wroom1
|
|
|
|
package machine
|
|
|
|
const (
|
|
SCL_PIN = GPIO17
|
|
SDA_PIN = GPIO18
|
|
|
|
SPI1_SCK_PIN = GPIO12 // SCK
|
|
SPI1_MOSI_PIN = GPIO11 // SDO (MOSI)
|
|
SPI1_MISO_PIN = GPIO13 // SDI (MISO)
|
|
SPI1_CS_PIN = GPIO10 // CS
|
|
|
|
SPI2_SCK_PIN = GPIO36 // SCK
|
|
SPI2_MOSI_PIN = GPIO35 // SDO (MOSI)
|
|
SPI2_MISO_PIN = GPIO37 // SDI (MISO)
|
|
SPI2_CS_PIN = GPIO34 // CS
|
|
)
|