-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Feature/can bus #12651
Feature/can bus #12651
Conversation
…tProjects into feature/can-bus
…tProjects into feature/can-bus
#define MCP2515_BMS_FREEDWON | ||
#endif // MCP2515_BMS_FREEDWON | ||
#endif // MCP2515_BMS_CLIENT | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice set of defines.
If the user does not define the BMS client it is defined anyway. On the other hand I understand that without any client the current implementation is of no use either.
@mbezuidenhout Seems like this driver is pretty specific to the Freedom Won BMS? What would it take to expand it to a general purpose MCP2515 Canbus bridge/driver? Just diving into Canbus, specifically the VW e-Golf battery implementation, where @Tom-evnut has done some good work already. |
Description:
Added support for MCP2515 CAN controller.
Reading and reporting of Freedom Won Lite battery (RJ45 pins 7 & 8) State of Charge on CAN bus.
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass