- clone an empty git repository named esp32-workspace
- open vscode within the repository directory
cd esp32-workspace/ code .
- in vscode save current workspace within the git folder
file --> save workspace as...
- create projects folders from command line (not from vscode) within git folder
mkdir project1 mkdir project2
- open vscode and add
project1
andproject2
folders to workspacefile --> add folder to workspace
- each project folder will contain its .vscode folder, a CMakeLists.txt file and README.md
. $HOME/esp/esp-idf/export.sh
idf.py set-target esp32s3
idf.py build
idf.py -p /dev/cu.usbserial-14120 flash
idf.py -p /dev/cu.usbserial-14120 monitor # exit via ctrl + ]
idf.py -p /dev/cu.usbserial-14120 flash monitor # exit via ctrl + ]
Follow detailed instructions provided specifically for this example.
Select the instructions depending on Espressif chip installed on your development board: