Comments (4)
UPDATE!!
I just removed ESP32 by Espressif Library ver 3.0.0-alpha2 and rolled back to ver 2.0.11 and can now compile without error.
from battery-emulator.
I should add to the above that originally I received error:
C:\Users\Chris\Downloads\BYD-Battery-Emulator-For-Gen24-4.0.0\BYD-Battery-Emulator-For-Gen24-4.0.0\Software\src\lib\miwagner-ESP32-Arduino-CAN\CAN.c:37:10: fatal error: esp_intr.h: No such file or directory
37 | #include "esp_intr.h"
| ^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: esp_intr.h: No such file or directory
to overcome that error I added this to the CAN.c file:
// #include "esp_intr.h"
#include "esp_intr_alloc.h" // jimn warning depreciated #include "esp_intr.h"
from battery-emulator.
Great, once the library leaves ALPHA, we can update the repo. They wanted to rename CAN to TWIA which messes up a few things. One of my Patreons posted on Github same thing when they tried the ALPHA;
Error: cannot find file "esp_intr.h"
New file name is "esp_intr_alloc.h"
Error: no definition for CAN_TX_IDX, CAN_RX_IDX
New defines are TWAI_TX_IDX and TWAI_RX_IDX, not sure what file is needed now, maybe "soc/gpio_sig_map.h" but using hard coded values from that file (found on github) works well. TX is 123, RX is 94
from battery-emulator.
The merged PR #262 makes the users aware that only 2.0.11 works at the moment!
from battery-emulator.
Related Issues (20)
- Hyndai kona 64 battery HOT 1
- Sort order for events in 6.2.1 HOT 1
- Best set AC coupling Dala HOT 3
- SMA SB SE HOT 11
- Renault ZOE 25.2 kw battery to the inverter Deye SUN-15K-SGO1HP3-EU-AM2 HOT 10
- Webserver / Settings / Decimals not saved HOT 2
- Fronius Gen24 10KW 11Kwh BYD HOT 3
- Solax protocol does not respect user settings for charge/discharge HOT 1
- KIA EV6 / E-GMP platform integration HOT 8
- Reset Panic: Stack Smashing Protect Failure HOT 5
- Contractors donβt close although all conditions are met HOT 9
- Tesla Model 3 contactors stuck in on off loop with Deye / Solark 30 HOT 2
- Hyndai/kia 64kw HOT 2
- Double Battery - Capacity handling
- Dual lilygo HOT 1
- MINI BEV F56 Batterie HOT 1
- Feature request - Manual override - CAN contactors HOT 3
- Tesla Model 3 long range battery - all components are needed in the penthouse HOT 3
- Zero Motorcycle GEN2 HOT 4
- Arduino IDE 2.3. edit User Settings in /* Battery settings */ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from battery-emulator.