同步操作将从 formulahendry/vscode-platformio 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Integrate PlatformIO into Visual Studio Code on top of PlatformIO Core. Cross-platform Build System without external dependencies to the OS software: 350+ embedded boards, 20+ development platforms, 10+ frameworks. Arduino and ARM mbed compatible.
Atmel AVR & SAM, Espressif 8266 & 32, Freescale Kinetis, Intel ARC32, Lattice iCE40, Microchip PIC32, Nordic nRF51, NXP LPC, Silicon Labs EFM32, ST STM32, TI MSP430 & Tiva, Teensy, Arduino, ARM mbed, libOpenCM3, ESP8266, etc.
There is an offical PlatformIO IDE extension maintained by PlatformIO.Org. You would expect more features and maintenance from this extension.
If you want to build IoT projects connected to an IoT cloud service. You could take a look at aka.ms/azure.iot for Microsoft Azure IoT projects and resources.
If you are already using Azure IoT services, you could use Azure IoT Toolkit extension for better development experience.
c_cpp_properties.json
for C/C++ extensionBuild
, Upload
and Open Serial Monitor
with one commandUse existing project
If you have an existing PlatformIO project, open the project folder directly in VS Code
Create new project
In terminal, run platformio init --board <your_board_identifier>
to initialize a new PlatformIO project, then open the project folder in VS Code. Refer to User Guide for platformio init
command. For how to find Board Identifier, you could refer to this.
Ctrl+Alt+B
, or press F1
and then select/type PlatformIO: Build
, or right click the Text Editor and then click PlatformIO: Build
in context menuCtrl+Alt+U
, or press F1
and then select/type PlatformIO: Upload
, or right click the Text Editor and then click PlatformIO: Upload
in context menuCtrl+Alt+S
, or press F1
and then select/type PlatformIO: Open Serial Monitor
, or right click the Text Editor and then click PlatformIO: Open Serial Monitor
in context menuLibrary
item in the Status Bar at the bottom, or press F1
and then select/type PlatformIO: Search Library
, then type the query to search for library. Refer to the User Guide for the query syntax.Download
icon in the Status Bar at the bottom, or press F1
and then select/type PlatformIO: Install Library
, then type library id or name to install. Refer to the User Guide for the detailed usage.Terminal
icon in the Status Bar at the bottom, or press F1
and then select/type PlatformIO: Open Terminal
Add Include Path to c_cpp_properties.json
for C/C++ extension: Press F1
and then select/type PlatformIO: Add Include Path to Settings
. Wait for some seconds, then the PlatformIO libraries will be automatically added into Include Path of c_cpp_properties.json
. (Note: Do not modify c_cpp_properties.json
manually since the c_cpp_properties.json
will be fully regenerated and your manual changes will be lost.)
Combined Build
, Upload
and Open Serial Monitor
with one command: Click the Right Arrow
icon in the Status Bar at the bottom, or use shortcut Ctrl+Alt+A
, or press F1
and then select/type PlatformIO: Build, Upload and Open Serial Monitor
. Build
, Upload
and Open Serial Monitor
will be run one by one.
platformio.baudRate
: Set baud rate for Serial Monitor. (Default is 9600)platformio.showHelpInfo
: Whether to show help info when opening PlatformIO Terminal. (Default is true)platformio.autoUpdateIncludes
: Whether to add Include Path to c_cpp_properties.json
automatically. (Default is true)By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below:
{
"platformio.enableTelemetry": false
}
See Change Log here
Currently, the extension is in the very initial phase. If you find any bug or have any suggestion/feature request, please join the chat on Gitter or submit the issues to the GitHub Repo.
Contributions are warmly welcome! Please follow the Contribution Guide to setup development environment.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。