Compile on CLI
Step by Step
- Install PlatformIO Core (PIO).
- Install the prerequisites to be able to build the WebApp.
- Clone the source code repository. You really have to clone the source code repository. Do not download and extract a source ZIP file. During the build process the Git hash is embedded into the firmware. If you merely download and extract the source ZIP file a build error will occur, as no Git status can be determined.
- Adjust the serial port in file platformio_override.inito your setup. The setting occurs twice:- upload_port
- monitor_port
 
- Build the firmware: platformio run -e generic_esp32s3(chose a suitable PIO environment)
- Upload to ESP32 module: platformio run -e generic_esp32s3 -t upload
Other Popular PlatformIO Tasks
- Clean the sources:  platformio run -e generic_esp32s3 -t clean
- Erase flash: platformio run -e generic_esp32s3 -t erase