Skip to content
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

esp32/spiram.h is missing #3

Closed
Alaa-Aim opened this issue Apr 6, 2022 · 2 comments
Closed

esp32/spiram.h is missing #3

Alaa-Aim opened this issue Apr 6, 2022 · 2 comments

Comments

@Alaa-Aim
Copy link

Alaa-Aim commented Apr 6, 2022

@vortigont , after updating to new version of this library, I get an error while compiling "In file included from espem/espem.h:12:0,
from espem/interface.cpp:1:
.pio/libdeps/espem/pzem-edl/src/timeseries.hpp:32:26: fatal error: esp32/spiram.h: No such file or directory
compilation terminated.
In file included from espem/espem.h:12:0,
from espem/espem.cpp:9:
.pio/libdeps/espem/pzem-edl/src/timeseries.hpp:32:26: fatal error: esp32/spiram.h: No such file or directory
compilation terminated.
*** [.pio\build\espem\src\interface.cpp.o] Error 1
*** [.pio\build\espem\src\espem.cpp.o] Error 1
In file included from espem/espem.h:12:0,
from espem/main.cpp:11:
.pio/libdeps/espem/pzem-edl/src/timeseries.hpp:32:26: fatal error: esp32/spiram.h: No such file or directory
compilation terminated.
*** [.pio\build\espem\src\main.cpp.o] Error 1
============================================================ [FAILED] Took 8.03 seconds ============================================================
Environment Status Duration


espem FAILED 00:00:08.027
====================================================== 1 failed, 0 succeeded in 00:00:08.027 ====================================================== "

and an error in the main.cpp also as shown in the screen shot below

image

@vortigont
Copy link
Owner

ah, yes, this header has been changed in a recent IDF 4.x and platformio still uses an older IDF. I will add some include guard for this.
Also better to move to a recent core with platformio, I'll provide an example config for espem.

@Alaa-Aim
Copy link
Author

Alaa-Aim commented Apr 6, 2022

@vortigont many thanks for your efforts

@Alaa-Aim Alaa-Aim closed this as completed Apr 6, 2022
vortigont added a commit that referenced this issue Apr 6, 2022
vortigont added a commit to vortigont/espem that referenced this issue Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants