I am having trouble with the ‘Build Filesystem Image’ with Build Web Server ebook page 184 for the ESP32.
I downloaded the .zip file for and trying the 1_2_Hello_World_WS_SPIFFS. I am using VS code with the latest PlatformIO. I have no other folders in the workspace.
I don’t see the ‘Platform’ item, so I can’t click ‘Build Filesystem Image’ in the VScode menu as on page 184.
I am having trouble uploading a screen capture here so I describe the tree:
There is no Platform.
On page 184, I don’t see the Default item in the tree.
I was able to run the 1_1_Hello_World_WS and it worked fine.
How did you open the project folder on VS Code?
Share an image of what you get on VS Code. To share an image share a link to google drive, dropbox, imgur or others.
I recommend taking a look at the following similar issues:
Thanks for your response. I posted the screen capture of the VS Code IDE.
To start the project, I just open a command line prompt, go to the directory with of Module_3_Web_Servers\1_Hello_World\1_2_Hello_World_WS_SPIFFS\
and type code . (that is code with a period).
Before writing my post, I already saw those two threads.
The “Command Palette-> Refresh project tasks” does not change anything for me. There is still no Platform in the tree.
I also tried clicking at the bottom line to see if I can select another project, but don’t think it sees any other folder.
I see in the tree under project tasks > Default and >espdoit-devkit-v1.
Also, I don’t have any extra serial terminal open.
I’m not sure what might be the issue.
I recommend doing the following:
- close your project and remove it from the workspace
- create a new project using PlatformIO for the ESP32 – you don’t need to do anything with that project
- then, go to File > Open and open the project folder of project 1_2.
Check if the tools are available now.
I know this seems silly, but sometimes, tricks like this solve the issues.
I tried on a different PC and it is working there. 🙂 I will check the differences between the two PCs and post if I find the root cause.