ESP-IDF (Espressif IoT Development Framework)

Inhaltsverzeichnis

Build System

idf.py

Terminalbefehle

Wichtige Kommandos

Debugging

Anhang

ESP-IDF Visual Studio Code Extension

How to use

Tutorials

Table of content

Available commands

About commands

Commands for tasks.json and launch.json

Available Tasks in tasks.json

Troubleshooting

Code of Conduct

License

 

VSCode Extension

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md

 

Für das Debuggen muss das USB-Kabel am JTAG Usb Port angeschlossen sein!  

Build System

  • configuration 

    • sdkconfig in the root directory of the project. 

      • Wird durch idf.py menuconfig geändert  

  • app 

    • project app 

    • bootloader app. 

  • components  

    • standalone code,  compiled into static libraries (.a files)  linked to an app 

  • target 

    • full list of supported targets: idf.py --list-targets. 

  • ESP-IDF  

    • IDF_PATH environment variable 

  • toolchain for compilation 

    • is not part of the project. The toolchain should be installed in the system command line PATH. 

 

idf.py

Ein command-line tool managed folgende Tools:

  • CMake, which configures the project to be built 

  • Ninja which builds the project 

  • esptool.py for flashing the target. 

Terminalbefehle

 

>idf.py build

>idf.py –p com7 make flash monitor

oder die Schnittstelle über die Umgebungsvariable ESPPORT setzen

oder Schnittstelle über die Extension ESP-IDF in VSCode setzen: >F1 >selet port to use   (Ctrl+E+P)

>F1 >ESP-IDF:set espressive device Target

>F1 >

Wichtige Kommandos

>idf.py monitor

Abbrechen mit CTRL+T x

 

>ctrl+shift+P   oder >F1

ESP-IDF Kommandozeile;  ESP-IDF: ….

Debugging

Es gibt eine JTAG-Schnittstelle, die auf einen USB-Buchse verdrahtet ist (Pin 19 und 20).

 

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/DEBUGGING.md

Anhang

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/DEBUGGING.md

ESP-IDF Visual Studio Code Extension

Make sure to review our documentation first to properly use the extension.

How-To-Use