I have installed PlatformIO and gardually getting used to it.
Working my way through Build Web Sever course:-
1.1 -Hello World Web Server compiles and loads successfully. Webpage displays OK
1.2 -Hello World Web Server (WS_SPIFFS) compiles and loads successfuly. However no web page is displayed. I have checked the code but cannot find a reason why the web page fails.
Please can you suggest possibles reasons why this may be
Are you sure that you’ve uploaded the data files to your board?
Did you “Upload the filesystem image”?
Check that you have all the necessary files on the data folder and on the right place.
Indeed that is the answer, I tried the Arduino direct version and with the ‘ESP Sketch Data Upload funcyion and it all worked correctly.
My question is how do this in PlatformIO preferrably automatically at upload function.
Thanks and regards
I’m sorry, but I didn’t understand. Did you use Arduino IDE to upload the files?
That is not necessary. PlatformIO can handle that for you.
Everything is explained on the eBook. See page 181.