PlatformIO(也称PIO)是一款开源且跨平台的嵌入式系统与产品程序的开发工具,可用于多种嵌入式架构与平台的开发。[2]

PlatformIO
PlatformIO 与 Visual Studio Code
開發者PlatformIO Labs OÜ
首次发布2014年 (2014)
当前版本
  • 6.1.15 (2024年4月25日;穩定版本)[1]
編輯維基數據鏈接
源代码库 編輯維基數據鏈接
编程语言Python
操作系统LinuxWindowsMacOS
许可协议Apache许可证(2.0)
网站platformio.org

简介 编辑

与通常与厂商绑定的嵌入式开发工具不同,PlatformIO支持多种嵌入式平台,例如STM32STM8ESP32Amtel AVRESP82668051等。[3]

PlatformIO的核心组件是称为“PIO Core”的命令行工具,基于Python编写,它可以独立于集成开发环境与文本编辑器使用。PlatformIO也为许多集成开发环境与文本编辑器开发了插件,包括AtomEclipseEmacsNetBeansVimVisual StudioVisual Studio Code[4]

PlatformIO支持单元测试与远程开发功能,还附带了简易的串口调试工具。[5]PlatformIO为不同的嵌入式平台提供不同的框架,开发者可以选用厂商提供的或者跨平台的SDK,比如Arduino框架[6];同时PlatformIO也提供第三方代码库的引用与管理功能,能够直接在IDE内安装这些第三方库。

參考資料 编辑

  1. ^ Release 6.1.15. 2024年4月25日 [2024年4月25日]. 
  2. ^ What is PlatformIO? — PlatformIO latest documentation. docs.platformio.org. [2022-03-06]. (原始内容存档于2022-05-07). 
  3. ^ PlatformIO Support for ESP-IDF v4.1 | Espressif Systems. www.espressif.com. [2022-03-06]. (原始内容存档于2022-03-06) (英语). 
  4. ^ PlatformIO. PlatformIO is a professional collaborative platform for embedded development. PlatformIO. [2022-03-06]. (原始内容存档于2022-05-09) (英语). 
  5. ^ Han,Jun; 韩骏. Visual Studio Code quan wei zhi nan. Visual Studio Code 权威指南 Di 1 ban. Beijing: Dian zi gong ye chu ban she. 2020. ISBN 978-7-121-38911-5. OCLC 1243238053. 
  6. ^ Hughes, John M. Arduino : a technical reference : a handbook for technicians, engineers, and makers. Arduino: A Technical Reference. Sebastopol, CA. 2016. ISBN 978-1-4919-3450-0. OCLC 949884566.