ESP32-Arduino-CAN
ESP32-Arduino-CAN copied to clipboard
CAN/TWAI Support for ESP32-C3 ?
Would it be possible to modify this library to support the ESP32-C3 microcontroller? It has the same CAN controller (SJA1000) as the other ESP32s, but a different, RISC-V based microcontroller. The existing Arduino CAN libraries will not compile for ESP32-C3s, giving the error message "fatal error: soc/dport_reg.h: No such file or directory." The ESP32-C3 is becoming increasingly popular, and modifying this CAN/TWAI library to support it would be a HUGE help to the community.
Stumbling over this as well at the moment. What is the PWM being used for in this library?
Even without that it won't compile, due to the great CAN->TWAI renaming. In the meantime I have found the CAN abstraction from https://github.com/meatpiHQ/wican-fw, which works just fine here.