From e1c84e32f44f49d608110ced7a2cf4988e40081d Mon Sep 17 00:00:00 2001 From: lenvm Date: Sat, 11 Nov 2023 13:41:04 +0100 Subject: [PATCH] update name of ESP32 CAN library from ThomasBarth-ESP32-CAN-Driver to miwagner-ESP32-Arduino-CAN - this change is implemented as the README.md file states that the miwagner/ESP32-Arduino-CAN is used in a slightly modified form --- Software/Software.ino | 4 ++-- Software/src/battery/BMW-I3-BATTERY.cpp | 4 ++-- Software/src/battery/BMW-I3-BATTERY.h | 2 +- Software/src/battery/CHADEMO-BATTERY.cpp | 4 ++-- Software/src/battery/CHADEMO-BATTERY.h | 2 +- Software/src/battery/IMIEV-CZERO-ION-BATTERY.cpp | 4 ++-- Software/src/battery/IMIEV-CZERO-ION-BATTERY.h | 2 +- Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp | 4 ++-- Software/src/battery/KIA-HYUNDAI-64-BATTERY.h | 2 +- Software/src/battery/NISSAN-LEAF-BATTERY.cpp | 4 ++-- Software/src/battery/NISSAN-LEAF-BATTERY.h | 2 +- Software/src/battery/RENAULT-ZOE-BATTERY.cpp | 4 ++-- Software/src/battery/RENAULT-ZOE-BATTERY.h | 2 +- Software/src/battery/TESLA-MODEL-3-BATTERY.cpp | 4 ++-- Software/src/battery/TESLA-MODEL-3-BATTERY.h | 2 +- Software/src/inverter/BYD-CAN.cpp | 4 ++-- Software/src/inverter/BYD-CAN.h | 2 +- Software/src/inverter/PYLON-CAN.cpp | 4 ++-- Software/src/inverter/PYLON-CAN.h | 2 +- Software/src/inverter/SMA-CAN.cpp | 4 ++-- Software/src/inverter/SMA-CAN.h | 2 +- Software/src/inverter/SOFAR-CAN.cpp | 4 ++-- Software/src/inverter/SOFAR-CAN.h | 2 +- Software/src/inverter/SOLAX-CAN.h | 4 ++-- .../CAN.c | 0 .../CAN.h | 0 .../CAN_config.h | 0 .../can => lib/miwagner-ESP32-Arduino-CAN}/ESP32CAN.cpp | 0 .../can => lib/miwagner-ESP32-Arduino-CAN}/ESP32CAN.h | 4 ++-- .../can_regdef.h | 0 30 files changed, 39 insertions(+), 39 deletions(-) rename Software/src/lib/{ThomasBarth-ESP32-CAN-Driver => miwagner-ESP32-Arduino-CAN}/CAN.c (100%) rename Software/src/lib/{ThomasBarth-ESP32-CAN-Driver => miwagner-ESP32-Arduino-CAN}/CAN.h (100%) rename Software/src/lib/{ThomasBarth-ESP32-CAN-Driver => miwagner-ESP32-Arduino-CAN}/CAN_config.h (100%) rename Software/src/{devboard/can => lib/miwagner-ESP32-Arduino-CAN}/ESP32CAN.cpp (100%) rename Software/src/{devboard/can => lib/miwagner-ESP32-Arduino-CAN}/ESP32CAN.h (73%) rename Software/src/lib/{ThomasBarth-ESP32-CAN-Driver => miwagner-ESP32-Arduino-CAN}/can_regdef.h (100%) diff --git a/Software/Software.ino b/Software/Software.ino index d6043874..cc1ed03a 100644 --- a/Software/Software.ino +++ b/Software/Software.ino @@ -5,14 +5,14 @@ #include "HardwareSerial.h" #include "USER_SETTINGS.h" #include "src/battery/BATTERIES.h" -#include "src/devboard/can/ESP32CAN.h" #include "src/devboard/config.h" #include "src/devboard/modbus/mbServerFCs.h" #include "src/inverter/INVERTERS.h" -#include "src/lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" #include "src/lib/adafruit-Adafruit_NeoPixel/Adafruit_NeoPixel.h" #include "src/lib/eModbus-eModbus/Logging.h" #include "src/lib/eModbus-eModbus/ModbusServerRTU.h" +#include "src/lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" //CAN parameters CAN_device_t CAN_cfg; // CAN Config diff --git a/Software/src/battery/BMW-I3-BATTERY.cpp b/Software/src/battery/BMW-I3-BATTERY.cpp index e70dde9b..598ffbf9 100644 --- a/Software/src/battery/BMW-I3-BATTERY.cpp +++ b/Software/src/battery/BMW-I3-BATTERY.cpp @@ -1,6 +1,6 @@ #include "BMW-I3-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" //TODO before using // Map the final values in update_values_i3_battery, set some to static values if not available (current, discharge max , charge max) diff --git a/Software/src/battery/BMW-I3-BATTERY.h b/Software/src/battery/BMW-I3-BATTERY.h index 4647be62..5e2c5e62 100644 --- a/Software/src/battery/BMW-I3-BATTERY.h +++ b/Software/src/battery/BMW-I3-BATTERY.h @@ -2,7 +2,7 @@ #define BMW_I3_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4040 // 404.4V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/battery/CHADEMO-BATTERY.cpp b/Software/src/battery/CHADEMO-BATTERY.cpp index fdf75fc9..27bd6470 100644 --- a/Software/src/battery/CHADEMO-BATTERY.cpp +++ b/Software/src/battery/CHADEMO-BATTERY.cpp @@ -1,6 +1,6 @@ #include "CHADEMO-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* Do not change code below unless you are sure what you are doing */ static unsigned long previousMillis100 = 0; // will store last time a 100ms CAN Message was send diff --git a/Software/src/battery/CHADEMO-BATTERY.h b/Software/src/battery/CHADEMO-BATTERY.h index d63c0c6f..e948058b 100644 --- a/Software/src/battery/CHADEMO-BATTERY.h +++ b/Software/src/battery/CHADEMO-BATTERY.h @@ -2,7 +2,7 @@ #define CHADEMO_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4040 // 404.4V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/battery/IMIEV-CZERO-ION-BATTERY.cpp b/Software/src/battery/IMIEV-CZERO-ION-BATTERY.cpp index bd713332..1a46c024 100644 --- a/Software/src/battery/IMIEV-CZERO-ION-BATTERY.cpp +++ b/Software/src/battery/IMIEV-CZERO-ION-BATTERY.cpp @@ -1,6 +1,6 @@ #include "IMIEV-CZERO-ION-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" //Code still work in progress, TODO: //Figure out if CAN messages need to be sent to keep the system happy? diff --git a/Software/src/battery/IMIEV-CZERO-ION-BATTERY.h b/Software/src/battery/IMIEV-CZERO-ION-BATTERY.h index cb4261f0..17fc02b1 100644 --- a/Software/src/battery/IMIEV-CZERO-ION-BATTERY.h +++ b/Software/src/battery/IMIEV-CZERO-ION-BATTERY.h @@ -2,7 +2,7 @@ #define IMIEV_CZERO_ION_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4040 // 404.4V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp b/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp index 4a95aa4e..146a1436 100644 --- a/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp +++ b/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp @@ -1,6 +1,6 @@ #include "KIA-HYUNDAI-64-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* Do not change code below unless you are sure what you are doing */ static unsigned long previousMillis10 = 0; // will store last time a 10ms CAN Message was send diff --git a/Software/src/battery/KIA-HYUNDAI-64-BATTERY.h b/Software/src/battery/KIA-HYUNDAI-64-BATTERY.h index d1d3cafe..725def3e 100644 --- a/Software/src/battery/KIA-HYUNDAI-64-BATTERY.h +++ b/Software/src/battery/KIA-HYUNDAI-64-BATTERY.h @@ -2,7 +2,7 @@ #define KIA_HYUNDAI_64_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4040 // 404.4V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/battery/NISSAN-LEAF-BATTERY.cpp b/Software/src/battery/NISSAN-LEAF-BATTERY.cpp index 32dd0d4a..41b91768 100644 --- a/Software/src/battery/NISSAN-LEAF-BATTERY.cpp +++ b/Software/src/battery/NISSAN-LEAF-BATTERY.cpp @@ -1,6 +1,6 @@ #include "NISSAN-LEAF-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* Do not change code below unless you are sure what you are doing */ static unsigned long previousMillis10 = 0; // will store last time a 10ms CAN Message was send diff --git a/Software/src/battery/NISSAN-LEAF-BATTERY.h b/Software/src/battery/NISSAN-LEAF-BATTERY.h index 7d204869..32c4186d 100644 --- a/Software/src/battery/NISSAN-LEAF-BATTERY.h +++ b/Software/src/battery/NISSAN-LEAF-BATTERY.h @@ -2,7 +2,7 @@ #define NISSAN_LEAF_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4040 // 404.4V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/battery/RENAULT-ZOE-BATTERY.cpp b/Software/src/battery/RENAULT-ZOE-BATTERY.cpp index 97027682..0e76a718 100644 --- a/Software/src/battery/RENAULT-ZOE-BATTERY.cpp +++ b/Software/src/battery/RENAULT-ZOE-BATTERY.cpp @@ -1,6 +1,6 @@ #include "RENAULT-ZOE-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* Do not change code below unless you are sure what you are doing */ #define LB_MAX_SOC 1000 //BMS never goes over this value. We use this info to rescale SOC% sent to Fronius diff --git a/Software/src/battery/RENAULT-ZOE-BATTERY.h b/Software/src/battery/RENAULT-ZOE-BATTERY.h index 23304351..96b6367e 100644 --- a/Software/src/battery/RENAULT-ZOE-BATTERY.h +++ b/Software/src/battery/RENAULT-ZOE-BATTERY.h @@ -2,7 +2,7 @@ #define RENAULT_ZOE_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4040 // 404.4V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp b/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp index 782cbdd7..f86903f6 100644 --- a/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp +++ b/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp @@ -1,6 +1,6 @@ #include "TESLA-MODEL-3-BATTERY.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* Do not change code below unless you are sure what you are doing */ /* Credits: Most of the code comes from Per Carlen's bms_comms_tesla_model3.py (https://gitlab.com/pelle8/batt2gen24/) */ diff --git a/Software/src/battery/TESLA-MODEL-3-BATTERY.h b/Software/src/battery/TESLA-MODEL-3-BATTERY.h index 874bf668..ce48b004 100644 --- a/Software/src/battery/TESLA-MODEL-3-BATTERY.h +++ b/Software/src/battery/TESLA-MODEL-3-BATTERY.h @@ -2,7 +2,7 @@ #define TESLA_MODEL_3_BATTERY_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define ABSOLUTE_MAX_VOLTAGE \ 4030 // 403.0V,if battery voltage goes over this, charging is not possible (goes into forced discharge) diff --git a/Software/src/inverter/BYD-CAN.cpp b/Software/src/inverter/BYD-CAN.cpp index 9c7ff330..f80af498 100644 --- a/Software/src/inverter/BYD-CAN.cpp +++ b/Software/src/inverter/BYD-CAN.cpp @@ -1,6 +1,6 @@ #include "BYD-CAN.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* Do not change code below unless you are sure what you are doing */ static unsigned long previousMillis2s = 0; // will store last time a 2s CAN Message was send diff --git a/Software/src/inverter/BYD-CAN.h b/Software/src/inverter/BYD-CAN.h index 4800d315..8bab8550 100644 --- a/Software/src/inverter/BYD-CAN.h +++ b/Software/src/inverter/BYD-CAN.h @@ -2,7 +2,7 @@ #define BYD_CAN_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" extern uint16_t SOC; extern uint16_t StateOfHealth; diff --git a/Software/src/inverter/PYLON-CAN.cpp b/Software/src/inverter/PYLON-CAN.cpp index 290de84c..5a258bb0 100644 --- a/Software/src/inverter/PYLON-CAN.cpp +++ b/Software/src/inverter/PYLON-CAN.cpp @@ -1,6 +1,6 @@ #include "PYLON-CAN.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #define SEND_0 //If defined, the messages will have ID ending with 0 (useful for some inverters) //#define SEND_1 //If defined, the messages will have ID ending with 1 (useful for some inverters) diff --git a/Software/src/inverter/PYLON-CAN.h b/Software/src/inverter/PYLON-CAN.h index b4d5832d..632d0ca4 100644 --- a/Software/src/inverter/PYLON-CAN.h +++ b/Software/src/inverter/PYLON-CAN.h @@ -2,7 +2,7 @@ #define PYLON_CAN_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" extern uint16_t SOC; extern uint16_t StateOfHealth; diff --git a/Software/src/inverter/SMA-CAN.cpp b/Software/src/inverter/SMA-CAN.cpp index c6f252bc..a229bbc3 100644 --- a/Software/src/inverter/SMA-CAN.cpp +++ b/Software/src/inverter/SMA-CAN.cpp @@ -1,6 +1,6 @@ #include "SMA-CAN.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" //TODO, change CAN sending routine once confirmed that 500ms interval is OK for this battery type diff --git a/Software/src/inverter/SMA-CAN.h b/Software/src/inverter/SMA-CAN.h index 6f1d9ab5..8097cd6d 100644 --- a/Software/src/inverter/SMA-CAN.h +++ b/Software/src/inverter/SMA-CAN.h @@ -2,7 +2,7 @@ #define SMA_CAN_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" extern uint16_t SOC; //SOC%, 0-100.00 (0-10000) extern uint16_t StateOfHealth; //SOH%, 0-100.00 (0-10000) diff --git a/Software/src/inverter/SOFAR-CAN.cpp b/Software/src/inverter/SOFAR-CAN.cpp index 68bd4b46..e80ba5c3 100644 --- a/Software/src/inverter/SOFAR-CAN.cpp +++ b/Software/src/inverter/SOFAR-CAN.cpp @@ -1,6 +1,6 @@ #include "SOFAR-CAN.h" -#include "../devboard/can/ESP32CAN.h" -#include "../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" /* This implementation of the SOFAR can protocol is halfway done. What's missing is implementing the inverter replies, all the CAN messages are listed, but the can sending is missing. */ diff --git a/Software/src/inverter/SOFAR-CAN.h b/Software/src/inverter/SOFAR-CAN.h index 3610f8b4..b3cbb284 100644 --- a/Software/src/inverter/SOFAR-CAN.h +++ b/Software/src/inverter/SOFAR-CAN.h @@ -2,7 +2,7 @@ #define SOFAR_CAN_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" // These parameters need to be mapped for the inverter extern uint16_t SOC; //SOC%, 0-100.00 (0-10000) diff --git a/Software/src/inverter/SOLAX-CAN.h b/Software/src/inverter/SOLAX-CAN.h index e142d382..9abf694b 100644 --- a/Software/src/inverter/SOLAX-CAN.h +++ b/Software/src/inverter/SOLAX-CAN.h @@ -2,10 +2,10 @@ #define SOLAX_CAN_H #include #include "../../USER_SETTINGS.h" -#include "../devboard/can/ESP32CAN.h" #include "../devboard/config.h" - +#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h" #include "../lib/pierremolinaro-acan2515/ACAN2515.h" + extern ACAN2515 can; extern uint16_t SOC; diff --git a/Software/src/lib/ThomasBarth-ESP32-CAN-Driver/CAN.c b/Software/src/lib/miwagner-ESP32-Arduino-CAN/CAN.c similarity index 100% rename from Software/src/lib/ThomasBarth-ESP32-CAN-Driver/CAN.c rename to Software/src/lib/miwagner-ESP32-Arduino-CAN/CAN.c diff --git a/Software/src/lib/ThomasBarth-ESP32-CAN-Driver/CAN.h b/Software/src/lib/miwagner-ESP32-Arduino-CAN/CAN.h similarity index 100% rename from Software/src/lib/ThomasBarth-ESP32-CAN-Driver/CAN.h rename to Software/src/lib/miwagner-ESP32-Arduino-CAN/CAN.h diff --git a/Software/src/lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h b/Software/src/lib/miwagner-ESP32-Arduino-CAN/CAN_config.h similarity index 100% rename from Software/src/lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h rename to Software/src/lib/miwagner-ESP32-Arduino-CAN/CAN_config.h diff --git a/Software/src/devboard/can/ESP32CAN.cpp b/Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.cpp similarity index 100% rename from Software/src/devboard/can/ESP32CAN.cpp rename to Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.cpp diff --git a/Software/src/devboard/can/ESP32CAN.h b/Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h similarity index 73% rename from Software/src/devboard/can/ESP32CAN.h rename to Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h index 10ecf94d..e2e2251c 100644 --- a/Software/src/devboard/can/ESP32CAN.h +++ b/Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h @@ -1,8 +1,8 @@ #ifndef ESP32CAN_H #define ESP32CAN_H -#include "../../lib/ThomasBarth-ESP32-CAN-Driver/CAN.h" -#include "../../lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h" +#include "../../lib/miwagner-ESP32-Arduino-CAN/CAN.h" +#include "../../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h" extern uint8_t LEDcolor; class ESP32CAN { diff --git a/Software/src/lib/ThomasBarth-ESP32-CAN-Driver/can_regdef.h b/Software/src/lib/miwagner-ESP32-Arduino-CAN/can_regdef.h similarity index 100% rename from Software/src/lib/ThomasBarth-ESP32-CAN-Driver/can_regdef.h rename to Software/src/lib/miwagner-ESP32-Arduino-CAN/can_regdef.h