Arduino ESP32 CAN is not compiled under ESP32-C3
Posted: Tue Apr 19, 2022 8:54 am
Good day! I have two esp32 and esp32-c3 modules. The library http://www.iotsharing.com/2017/09/how-t ... rface.html works for esp32. compilation error for esp32-c3.
C:\Users\Yuriy\Documents\Arduino\libraries\esp32-can-protocol-demo-master\src\CAN.c:36:10: fatal error: soc/dport_reg.h: No such file or directory
#include "soc/dport_reg.h"
^~~~~~~~~~~~~~~~~
I assume that there are slightly different platforms. How to fix it ? Maybe someone did CAN under esp32-C3?
C:\Users\Yuriy\Documents\Arduino\libraries\esp32-can-protocol-demo-master\src\CAN.c:36:10: fatal error: soc/dport_reg.h: No such file or directory
#include "soc/dport_reg.h"
^~~~~~~~~~~~~~~~~
I assume that there are slightly different platforms. How to fix it ? Maybe someone did CAN under esp32-C3?