如何在命令行上创建新的 PlatformIO 项目
你可以通过运行例如以下命令在命令行上创建新的 PlatformIO 项目
pio-project-init.sh
pio project init --board esp32dev --ide vscode --sample-code注意所有选项(--board 和 --ide)都是可选的。没有 --sample-code,PlatformIO 不会自动生成 src/main.cpp
这将在当前目录中初始化新的 PlatformIO 项目。
Check out similar posts by category:
PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow