MicroOcpp icon indicating copy to clipboard operation
MicroOcpp copied to clipboard

Project doesn't compile

Open arndt-s opened this issue 3 years ago • 2 comments

I am looking to bring ocpp on an Arduino board and found your project. Unfortunately I was not able to get it into a compiled version.

Checking out and building master fails with:

src/ArduinoOcpp/Core/ConfigurationContainerFlash.cpp:15:22: fatal error: LITTLEFS.h: No such file or directory

develop with:

collect2: error: ld returned 1 exit status
*** [.pio/build/nodemcuv2/firmware.elf] Error 1

Are there any specific framework versions or setup steps required that are not mentioned in the doc? platformio version is up to date, environment clean.

Thank you.

arndt-s avatar Jul 28 '22 08:07 arndt-s

Have you already been able to work around this problem?

Please try checking out from the develop branch. I have added a few things to improve the compatibility with different platforms.

matth-x avatar Aug 02 '22 06:08 matth-x

I'm having the same issue here. This seems to be a problem with esp8266 in particular. Compiling and uploading to esp32 seems to be working fine for me. Dumb question, how to check out to develop in pio? I tried fetching the full repo after pio installed it and then checkout to develop. Once pio runs, it notices a different hash and gets the one it's comfortable with.

Naheel-Azawy avatar Aug 07 '22 08:08 Naheel-Azawy

Closing this due to inactivity

matth-x avatar Aug 25 '23 10:08 matth-x