Fatal Error: esp_intr.h: No such file or directory
A new error I have found while testing CAN communication is within the ESP32SJA1000.cpp source code, where Arduino IDE is unable to recognize the "esp_intr.h" reference. Supposedly another library was updated and changed the functionality, because yesterday I ran the same unaltered code using this CAN library and it worked perfectly. The error message was as followed:
c:\Users\Windows 10\Documents\Arduino\libraries\CAN\src\ESP32SJA1000.cpp:6:10: fatal error: esp_intr.h: No such file or directory 6 | #include "esp_intr.h" | ^~~~~~~~~~~~ compilation terminated. exit status 1
Compilation error: exit status 1
I get this too
Estou com o mesmo problema. Preciso atualizar para a versão 3.0.0 da placa ESP-32 e a biblioteca não funciona mais.
I have this Erro too!
Replace #include "esp_intr.h" as #include "esp_intr_alloc.h" and add #include "rom/gpio.h" In src/ESP32SJA1000.cpp to get it running
I am getting this error as well.
Edit: I should also add that the above attempt to fix it did not work for me, gave a lot of other errors.
Applying https://github.com/ZillKhan/arduino-CAN/tree/patch-1 seems to fix it for me