Wie man ein neues PlatformIO-Projekt auf der Kommandozeile erstellt

Sie können ein neues PlatformIO-Projekt auf der Kommandozeile erstellen, indem Sie z.B. ausführen

pio-project-init.sh
pio project init --board esp32dev --ide vscode --sample-code

Beachten Sie, dass alle Optionen (--board und --ide) optional sind. Ohne --sample-code wird PlatformIO nicht automatisch src/main.cpp generieren

Dies wird ein neues PlatformIO-Projekt im aktuellen Verzeichnis initialisieren.


Check out similar posts by category: PlatformIO