Project where a tracking device or a tracker has the ability to track a box with GPS coordinates.
Install latest version of Arduino.
Download arduino-cli and make sure that it can be run at the base of the project folder.
Install Arduino extension by Microsoft for VS Code.
Add a new line to settings.json (ctrl+p Preferences: Open settings (JSON)):
"arduino.additionalUrls": "https://dl.espressif.com/dl/package_esp32_index.json"
Open Board Manger (ctrl+p Arduino: Board Manager)
From Board Manager install esp32 package.
Initialize the Arduino extension from (ctrl-p Arduino: Initialize) and select ESP DEV board.
Try to execute a program. It should create c_cpp_properties.json.
To compile box or tracker run compile.sh <box|tracker> <port>
The script will automatically try to upload the sketch to the specified port.