python iot 开源_PlatformIO 是一个开源的 IoT 开发的生态系统

IoT Utility

68747470733a2f2f6261646765732e6769747465722e696d2f666f726d756c6168656e6472792f7673636f64652d706c6174666f726d696f2e73766768747470733a2f2f76736d61726b6574706c61636562616467652e61707068622e636f6d2f76657273696f6e2d73686f72742f666f726d756c6168656e6472792e706c6174666f726d696f2e73766768747470733a2f2f76736d61726b6574706c61636562616467652e61707068622e636f6d2f696e7374616c6c732d73686f72742f666f726d756c6168656e6472792e706c6174666f726d696f2e73766768747470733a2f2f76736d61726b6574706c61636562616467652e61707068622e636f6d2f726174696e672d73686f72742f666f726d756c6168656e6472792e706c6174666f726d696f2e73766768747470733a2f2f7472617669732d63692e6f72672f666f726d756c6168656e6472792f7673636f64652d706c6174666f726d696f2e7376673f6272616e63683d6d6173746572

Integrate PlatformIO into Visual Studio Code on top of PlatformIO Core. Cross-platform Build System without external dependencies to the OS software: 550+ embedded boards, 25+ development platforms, 15+ 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.

What's New in v0.3.0

Discover devices connected via Ethernet, Wi-Fi and USB: Press F1 and then select/type IoT Utility: Discover Device. (Make sure you have installed device-discovery-cli)

IP Address MAC Address Type Host Name

10.172.14.69 08:00:27:d7:27:ef raspberrypi (Raspberry Pi) raspberrypi

10.172.15.84 00:15:5d:0f:9d:01 tessel (Tessel 2) tessel2

10.172.14.219 00:0c:29:35:fa:9f huzzah (Adafruit HUZZAH ESP8266)

10.172.15.98 78:2b:cb:b5:1c:9c ?

Note

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.

Features

Open Serial Monitor

Set baud rate for Serial Monitor

Quick way to open PlatformIO Terminal

Automatically or manually add Include Path to c_cpp_properties.json for C/C++ extension

Combined Build, Upload and Open Serial Monitor with one command

Discover devices connected via Ethernet, Wi-Fi and USB

Prerequisites

Setup

Use 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 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.

Usage

Build PlatformIO project: Use shortcut 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 menu

a51407b11a36a2376231565960da1d7d.gif

Upload firmware to devices: Use shortcut Ctrl+Alt+U, or press F1 and then select/type PlatformIO: Upload, or right click the Text Editor and then click PlatformIO: Upload in context menu

upload.gif

Open Serial Monitor: Use shortcut Ctrl+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 menu

openSerialMonitor.gif

Search for library: Click the Library 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.

searchLibrary.gif

Install library: Click the 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.

installLibrary.gif

Quick way to open PlatformIO Terminal: Click the Terminal icon in the Status Bar at the bottom, or press F1 and then select/type PlatformIO: Open Terminal

openTerminal.png

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.

buildUploadAndOpenSerialMonitor.png

Discover devices connected via Ethernet, Wi-Fi and USB: Press F1 and then select/type IoT Utility: Discover Device. (Make sure you have installed device-discovery-cli)

IP Address MAC Address Type Host Name

10.172.14.69 08:00:27:d7:27:ef raspberrypi (Raspberry Pi) raspberrypi

10.172.15.84 00:15:5d:0f:9d:01 tessel (Tessel 2) tessel2

10.172.14.219 00:0c:29:35:fa:9f huzzah (Adafruit HUZZAH ESP8266)

10.172.15.98 78:2b:cb:b5:1c:9c ?

Settings

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)

Telemetry data

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

}

Change Log

See Change Log here

Issues

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

Contributions are warmly welcome! Please follow the Contribution Guide to setup development environment.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值