Hello,
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.
Module_3_Web_Servers\1_Hello_World\1_2_Hello_World_WS_SPIFFS\
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:
PROJECT TASKS
-DEFAULT
-ESP32DOIT-DEVKIT-V1
->General
->Advanced
->Remote Development
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.
Suggestions please?
Thanks,
Frank
Hi.
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:
- https://rntlab.com/question/platform-menu-building-file-system-image-os-x-esp32-webserver-course/
- https://rntlab.com/question/error-platformio-building-filesystem-image/
Regards,
Sara
Hello Sara,
Thanks for your response. I posted the screen capture of the VS Code IDE.
https://imgur.com/a/0inGsYO
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.
Frank
Hi Frank.
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.
Regards,
Sara
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.