Comments (5)
I'm having some Littlefs issues too, but probably a dumber mistake on my part. It simply can't find it:
.pio\libdeps\esp32dev\ArduinoOcpp\src\ArduinoOcpp\Core\Configuration.cpp:16:22: fatal error: LITTLEFS.h: No such file or directory
More similar errors are occuring. Trying to build your ESP32 example.
from microocpp.
Hi,
@Joelmaca9 This library does not need a preexisting configs file. When the configs file is missing, it loads the defaults from the program memory and it will create the configs file in the flash file system as soon as the first entry changes. You can trigger that by sending an OCPP ChangeConfiguration
request to your ESP32 or by starting a transaction. Alternatively, including <ArduinoOcpp/Core/Configuration.h>
and calling ArduinoOcpp::configuration_save()
anywhere after initializing the library will do the same. Can you try it and check the FS contents?
@fanzypantz Can you post the library dependency graph of the pio build routine? But my first guess is that copying the example platformio.ini
into the root project folder and selecting the environment esp32-development-board
could be worth a try.
from microocpp.
Sorry for not responding but I have been very occupied. I had a lot of troubles with littlefs so I ended up using the spiffs system and now works great! Thank you very much.
Also I wanted to know if you have any memory system for the authorization caché. I have been looking around the code but I have not seen anything and I need to implement it both with the Cear Cache function.
from microocpp.
Hi @Joelmaca9!
Did you manage to get this project work with esp-idf?
Could you share it to public? Or maybe some advices to get this done?
Appreciate!
from microocpp.
I'm closing this.
In the meantime I improved the PlatformIO integration and there are much less issues with the build system now.
An ESP-IDF integration can be found in the examples sections.
from microocpp.
Related Issues (20)
- Does PlatformIO + MicroOcpp not support IP addresses?
- Change WiFi interface for Ethernet HOT 1
- undefined reference to `setup()'
- How to implement/Use Authorization Cache HOT 1
- Support for binary data over websockets HOT 4
- BeginTransaction process with 2 connectors HOT 5
- addMeterValueInput Doesn't Work HOT 1
- Bug in void mocpp_initialize(const char *backendUrl,... HOT 4
- Issue with Inconsistent Responses for StopTransaction Requests HOT 3
- Meter values in ESP-IDF HOT 1
- Use of AuthorizeRemoteTxRequests Configuration Key HOT 2
- Error on Make - Invalid Initialization of Reference HOT 1
- Always Disconnected Problem
- Offline Behavior: Session Data Persistence HOT 4
- Saving the charging summary HOT 7
- Function to define the current limit of a EVSE HOT 4
- Commercially Available Options HOT 2
- FreeVending Mode for Two conectors Simultaneously HOT 2
- cppcheck fail (cppcheck --force src/MicroOcpp) HOT 3
- Charge profile limiting not working if current is set (tested with the simulator)
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 microocpp.