Commit b3ec5f9
committed
esp32/machine_i2c.c: Fix default I2C pins for new ESP32 models.
his addresses issue micropython#17103.
The new default I2C init does not require setting SCL or SDA but
the default pins for C3 (and S3?) conflict with the espressif
GPIO usage.
For the C3, pins 18/19 are for USB/JTAG. If used for
I2C() they will cause the REPL to hang on initialization of the I2C.
For the S3 pin 19 is allocated for USB/JTAG also but the
defaults do not seem to affect the REPL. This pull request updates
pin settings for the non base ESP32 models (C3,C6,S2,S3,...).
See PR micropython#16956
See Issue micropython#17103
Signed-off-by: Rick Sorensen <[email protected]>1 parent 9ee2ef5 commit b3ec5f9
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments