Skip to content

Commit

Permalink
Merge pull request #913 from nmainil/main
Browse files Browse the repository at this point in the history
Add basic read-only support for Volvo hybrid batteries
  • Loading branch information
dalathegreat authored Feb 25, 2025
2 parents 6523967 + 85ace28 commit cd9f7df
Show file tree
Hide file tree
Showing 7 changed files with 837 additions and 1 deletion.
1 change: 1 addition & 0 deletions Software/USER_SETTINGS.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
//#define TESLA_MODEL_3Y_BATTERY
//#define TESLA_MODEL_SX_BATTERY
//#define VOLVO_SPA_BATTERY
//#define VOLVO_SPA_HYBRID_BATTERY
//#define TEST_FAKE_BATTERY
//#define DOUBLE_BATTERY //Enable this line if you use two identical batteries at the same time (requires CAN_ADDON setup)
//#define SERIAL_LINK_TRANSMITTER //Enable this line to send battery data over RS485 pins to another Lilygo (This LilyGo interfaces with battery)
Expand Down
4 changes: 4 additions & 0 deletions Software/src/battery/BATTERIES.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ void setup_can_shunt();
#include "VOLVO-SPA-BATTERY.h"
#endif

#ifdef VOLVO_SPA_HYBRID_BATTERY
#include "VOLVO-SPA-HYBRID-BATTERY.h"
#endif

#ifdef SERIAL_LINK_RECEIVER
#include "SERIAL-LINK-RECEIVER-FROM-BATTERY.h"
#endif
Expand Down
Loading

0 comments on commit cd9f7df

Please # to comment.