ESP32 IDF V4 - Issue I2C Setup #7501
Replies: 1 comment
-
Posted at 2024-12-12 by @SimonGAndrews This link seems to identify the problem. An indeed tracing the error message back into the code shows that the ESP IDF i2c driver (see image for source file name) is expecting to be passed a clocks variable in the config structure from espruino jshardwareI2c.c I am testing a fix which will need to be ifdef out for the idf4 build. It also involves handling the i2C speed that Espruino allows to be set in the I2C.setup function. PR to follow. Attachments: Posted at 2024-12-13 by @gfwilliams Thanks for tracking that down - that sounds great! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2024-12-12 by @SimonGAndrews
An error occurs using espruino in the ESP32-C3 IDF 4 build. when setting up the i2C. In more detail: When building with the command line:
The error occurs when executing the espruino command:
The error text is :
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions