1. 程式人生 > >Visual Stuido Code外掛PlatformIO IDE開發arduino與ESP8266與stm32

Visual Stuido Code外掛PlatformIO IDE開發arduino與ESP8266與stm32

今天在網上看到Visual Studio Code for arduino的介紹就下載了一個,沒想到發現了一個新的外掛PlatformIO IDE
支援如下平臺,太誇張了
 
Visual Studio Code的安裝檔案非常小隻有42M,外掛庫相當的豐富,更多資料去問度娘。
Visual Studio Code(以下簡稱VSCODE)是微軟出品的程式碼編輯軟體,它有著出色的程式碼編輯功能,十分強悍。
具體就不描述了
下載地址:https://code.visualstudio.com/Download
下載後安裝,安裝介面

 


然後點



 

最左下方的按鈕《擴充套件》,搜尋PlatformIO IDE,


 

安裝,Visual Studio Code會自動安裝 PlatformIO IDE 到電腦中。



PlatformIO IDE的官網 http://platformio.org/資源比較的豐富
 

Please follow to the official documentation PlatformIO IDE for VSCode.




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. 

在軟體中,執行platformio init--開發板型號(uno/mage2560等)初始化一個新的PlatformIO專案,然後開啟VS程式碼中的專案資料夾。請參閱platformio init命令的使用者指南。