Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tesla BMS test #22

Open
KGog opened this issue May 31, 2022 · 4 comments
Open

Tesla BMS test #22

KGog opened this issue May 31, 2022 · 4 comments

Comments

@KGog
Copy link

KGog commented May 31, 2022

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.

@collin80
Copy link
Owner

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.

@KGog
Copy link
Author

KGog commented Jun 20, 2022

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
Copy link
Author

KGog commented Jul 30, 2022

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

@collin80
Copy link
Owner

That looks like a successful build to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants