Hello, I am new for pioArduino. I have a workin projet with arduino platefome but I would like to move with plateformIO. I work hard to configure plateformeIo.ini and after a week it doesnt work…
Here is my plateformeIo.ini:
There is a lot of compilation errors:
In file included from lib/Formaca/src/Formaca.cpp:1:
lib/Formaca/Formaca.h:2:10: fatal error: LittleFS.h: No such file or directory
Looking for LittleFS.h dependency? Check our library registry!
compilation terminated.
*** [.pio\build\esp32dev\lib\Formaca\src\Formaca.cpp.o] Error 1
In file included from lib/PLC_Persistence/src/PLC_Persistence.cpp:1:
lib/PLC_Persistence/PLC_Persistence.h:5:10: fatal error: LittleFS.h: No such file or directory
And the compiler doesn’t find NetworkServer.
Many thanks for your reply. I would like to know where I can put libraries frmo my own developpement. Actually the main source is in src and all library are on the folder lib. I copy past the plateformeIo.ini you suggest me and I have the following error:
Error: Nothing to build. Please put your source code files to the ‘C:\Users\vorms\Documents\PlatformIO\Projects\Formaca\src’ folder.
If I copy past the link in the explorer I found the file main.cpp. This is almost correct ! Sorry I am very new for plateformeIo /pioarduino, I have a lot of experience in Arduino ide but I must to move. Many thanks for your help
section. This expression just says “exclude this folder” but doesn’t actually include any source files. I guess there is no Formaca/src/PCF8574/test/ folder?
in my experience using other modes than chain is problematic. Generates more issues than it solves.
Most of the time setup is wrong when mode chain is not working.
Hello,
Thanks for your reply.
I have the same error:
Error: Nothing to build. Please put your source code files to the ‘C:\Users\vorms\Documents\PlatformIO\Projects\Formaca\src’ folder
If I ctrl click on the path, it goes to the src folder. In this folder there is one file: main.cpp. This file has the method setup() and loop().
.
Hello, this is just for not compiling the PCF8574/test/.
I use the PCF8574 but I don’t want to compile the test part
The main is on src folder, all libraries that I make is on lib folder.
Many thanks for your help !
The project run now, I just spend a week for the plateformeio.ini.
Many thanks for all the community.
If it’s an easy possibility to ffer a cafe, tell me !