ESP-Prog programmer / debugger For details on installing see here. Installing debugger VS Code has a built-in debugger, its setup documentation is here. Apparently some people use it successfully for Espressif chips (launch.json “type”: “gdb”). Espressif have a dedicated VS Code extension for debugging which is likely the better choice (launch.json “type”: “espidf”) and that’s […]
Category: Visual Studio Code
Using Visual Studio
Resources The official documentation Keyboard Shortcuts Command Pallet (run command box) CTRL+SHIFT+P (Menu > View > Command Palette) Build Project CTRL+E then B (ESP-IDF: Build your project)
.3 Creating a new project
Resources https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/basic_use.md NOTE: The esp-idf build system does not support spaces in paths to projects Create an example project in Visual Studio Code Menu > View > Command Palette (CTRL+SHIFT+P) > Type: ESP-IDF: Show Examples Projects (If it doesn’t come up, make sure VS Code isn’t in restricted safe mode)Choose “Use current ESP-IDF (\path\to\esp-idf)”.All of […]
.1 Installing Visual Studio Code
Installing You don’t have to have installed EDP-IDF first, the VS plugin is very good and can do it all for you. Install Visual Studio Code Install Python Install ESP-IDF Visual Studio Code Extension from: https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension Visual Studio Code > Menu > View > Command Palette (CTRL+SHIFT+P) > type: configure esp-idf extensionChoose the ESP-IDF: Configure ESP-IDF […]
Terminal window
Pause the Terminal window CTRL+T then CTRL+Y Getting command prompt You may need to use CTRL + ] to end its current mode and get its command prompt first Getting “ESP-IDF Terminal” instead of powershell You need the “ESP-IDF Terminal”, if your open Terminal is Powershell, kill it and then use command prompt (CTRL_SHIFT+P) and […]