Page 1 of 1

arduino as a component-> fatal error: driver/twai.h: No such file or directory

Posted: Mon Jun 10, 2024 3:52 pm
by rjustice
I have a ESP-IDF project which was made with ESP-IDF 4.4.2, it had arduino as a component, https://github.com/espressif/arduino-esp32.git, when i look at the commit I have checked out for the arduino component it is dated 3rd OCt 2022 6f0c55e0

I have recently checked out the project onto a new machine and installed ESP-IDF 4.4.7

I have gone through the steps on this page https://espressif-docs.readthedocs-host ... onent.html

When I go to build the project I get this error:
fatal error: driver/twai.h: No such file or directory
5 | #include "driver/twai.h"
When I look in the arduino as a component folder, twai.h is no longer there, how do I fix this issue, what has twai.h been replaced with?