sandeepmistry / arduino-CAN

An Arduino library for sending and receiving data using CAN bus.
MIT License
691 stars 236 forks source link

Feature request: CAN/TWAI Support for ESP32-C3? #92

Open heliophagus opened 2 years ago

heliophagus commented 2 years ago

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.

eastwife commented 2 years ago

Hope so.

Sheimy commented 2 years ago

Try This one i try it with S3 https://github.com/Sheimy/TWAI_S3_LISEN