Build Your Project
Once you have created a project and configured the ESP target and serial port, you can build the project by clicking on
in the toolbar.
However, the following steps will guide you through the process of building the project if you are new to the IDE:
Select a project from the
Project Explorer.Select
Runfrom the first dropdown, which is called Launch Mode.Select your application from the second dropdown, which is called Launch Configuration (Auto-detected).
Select a target from the third dropdown, which is called Launch Target. For example,
esp32.
Custom Build Directory
The IDE stores Build folder location on each launch configuration. Select that configuration in the Launch Bar so that build, sdkconfig, flash, and debug all use the same folder.
To configure a custom build directory:
Select a project, make sure the Launch Mode is set to
Run, and click on theEditbutton for the launch configuration in the top toolbar to open theEdit Configurationwindow. TheBuild Settingstab is not shown when the configuration is edited inDebugmode.Navigate to the
Build Settingstab.In the
Build folder locationfield, enter a path:Leave the field blank to use the default folder
project/build.A relative path is resolved under the project directory.
An absolute path can point to any location in the file system.
Click on
Okand build the project.
Note
This configuration specifies the location where all the project build artifacts will be generated.