AtomVM
AtomVM copied to clipboard
AtomVM uses old esp-idf i2c driver
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
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.