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

rjustice
Posts: 16
Joined: Mon Sep 06, 2021 9:12 am

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

Postby rjustice » Mon Jun 10, 2024 3:52 pm

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?

Who is online

Users browsing this forum: No registered users and 102 guests