AtomVM icon indicating copy to clipboard operation
AtomVM copied to clipboard

AtomVM uses old esp-idf i2c driver

Open pguyot opened this issue 1 month ago • 1 comments

Not sure when this driver was introduced. This conflicts with nifs that use the ng driver and produces an output such as:

E (527) i2c: CONFLICT! driver_ng is not allowed to be used with this old driver

abort() was called at PC 0x420cfad7 on core 0

pguyot avatar Nov 11 '25 07:11 pguyot

Not sure when this driver was introduced.

I believe this is the same driver that was introduced during the esp-idf 3.x series and updated along the way to support 4.x and 5.x. The APIs we are using has been considered legacy since around 5.1. We are well past due for a complete rewrite with modern esp-idf APIs.

UncleGrumpy avatar Nov 12 '25 18:11 UncleGrumpy