Missing CAN Driver after upgrade
Missing CAN Driver after upgrade
I have been using CAN driver of Heltec 0.06 release for Arduino. After grading to Esp32 3.3 release, I am missing the can driver (cannot find driver/can.h) ? Do I need to load another / different package?
-
- Posts: 826
- Joined: Mon Jul 22, 2019 3:20 pm
Re: Missing CAN Driver after upgrade
CAN has been "rebranded" to TWAI, so the driver can be found at driver/twai.h. This was not simply a renaming, so your code will require some upgrading to work.
can.h was deprecated in IDF 4.0, so you should have been getting a warning in the compiler about this for the past 3 years.
can.h was deprecated in IDF 4.0, so you should have been getting a warning in the compiler about this for the past 3 years.
Who is online
Users browsing this forum: Masoud123456 and 75 guests