

For example, imagine that your project requires two or three ESP32 or ESP8266 boards that communicate with each other. However, depending on the project, it might be useful to include multiple project folders in the workspace. The workspace is the project folder itself. In the following example, I created a new PlatformIO project called ESP32 Web Server. In most cases, you work with only one project folder at a time-in this scenario, the workspace is your project’s single root folder.įor example, create a new PlatformIO project or open a new project folder. If you want to learn more, you can read the workspaces documentation.Ī workspace is simply a collection of one or more project folders opened in a VS Code window (File Explorer). We’ll try to keep this concept as simple as possible and applied to our ESP32 and ESP8266 projects. But, you’ll see that it is a straightforward and useful concept to organize your projects. The workspace concept might be difficult to understand, mainly when you’re getting started with VS Code. Upload a Project in a Multi-Root Workspace.Throughout this tutorial, we’ll cover the following topics: You’ll learn what is a single-folder workspace, a multi-root workspace, the advantages of workspaces, and how to use them.

In this tutorial, you’ll learn how to deal with workspaces on VS Code to organize your ESP32 and ESP8266 projects.
