GithubHelp home page GithubHelp logo

Comments (4)

BEMSman avatar BEMSman commented on September 18, 2024 1

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.

BEMSman avatar BEMSman commented on September 18, 2024

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.

dalathegreat avatar dalathegreat commented on September 18, 2024

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.

dalathegreat avatar dalathegreat commented on September 18, 2024

The merged PR #262 makes the users aware that only 2.0.11 works at the moment!

from battery-emulator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.