TeslaBMS icon indicating copy to clipboard operation
TeslaBMS copied to clipboard

Tesla BMS test

Open KGog opened this issue 2 years ago • 4 comments

Hello After uplode I am getting such error mesage Arduino: 1.8.19 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\kgogoladze\Documents\Arduino\Tesla_BMS\BMSModuleManager.cpp:2:0:

BMSModuleManager.h:4:10: fatal error: due_can.h: No such file or directory

#include <due_can.h>

      ^~~~~~~~~~~

compilation terminated.

exit status 1

due_can.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

KGog avatar May 31 '22 11:05 KGog

That's because you are compiling for an ATMEGA board while the code is meant to be compiled for the Arduino Due. It's a completely different processor. You will also need the due_can library so ensure you've installed that as well. I wrote the due_can library so you can find it in my repos here.

collin80 avatar May 31 '22 12:05 collin80

Hello, Now I tried with the DUE board but without any success, the same error is presented. Could you please indicate where I can find due_can.h file? Thank you in advance Looking forward to your reply

In file included from C:\Users\kgogoladze\Documents\Arduino\Tesla_BMS\BMSModuleManager.cpp:2:0: C:\Users\kgogoladze\Documents\Arduino\Tesla_BMS\BMSModuleManager.h:4:21: fatal error: due_can.h: No such file or directory #include <due_can.h> ^ compilation terminated.

Compilation error: exit status 1

KGog avatar Jun 20 '22 12:06 KGog

Hello, I think I have success I have run your code Could you please check atteched log file? LOG.txt

KGog avatar Jul 30 '22 19:07 KGog

That looks like a successful build to me

collin80 avatar Jul 31 '22 19:07 collin80