twi.h #596
Replies: 1 comment 1 reply
-
Usually when people get an error like that it means they aren't compiling for the proper board. One thing in particular that stands out is that you mentioned GVRET but also that you have an ESP32 CANDue. They aren't compatible. This should probably have been made more clear. You need ESP32RET for that board. It's found here: https://github.com/collin80/ESP32RET and has its own set of required libraries and files in order to compile it. The required parts are all listed in its readme. Alternatively, basically all of the boards have prebuilt binaries if all you want to do is use the board. Just extract those files, plug the board in, and run the relevant batch file (.bat for windows, .sh for linux, .command for MacOS) and it should place the proper binary onto the board for you. This will be a lot easier than trying to compile it yourself. But, if you had hoped to write your own software and/or make changes to the ESP32RET program then you'd need to follow the readme and get all the files set up. |
Beta Was this translation helpful? Give feedback.
-
I have been unsuccessfully trying to get my new EVTV ESP32 CANDUe running for a few days. I followed the instructions that I found in the readme.md file in GVRET and found a post on the Savvycan.com website that got me most of the way. Unfortunately I keep getting an error when I try to compile the file.
fatal error: include/twi.h: No such file or directory
I searched for information on this error and did find some discussion but was wondering where I went wrong in the setup that this file is not being loaded properly.
Thanks in advance for any thoughts.
Beta Was this translation helpful? Give feedback.
All reactions