--- tags: 活動共筆 --- # 20211005 伴伴學:朱琪陪你玩 PlatformIO (一) ## Agenda - Introduction - Compilation and Upload Demonstration - Debug Demonstration --- # Introduction > Professional collaborative `platform` for embedded development ##### Official website: https://platformio.org/ --- ## What is IDE? IDE: Integrated Development Environment --- ## Features * A **lightweight** powerful cross-platform source code editor * Smart code completions based on variable types, function definitions, and library dependencies * Multi-projects workflow with easy navigation around project codebase, multiple panes, and themes support ---- ## Features * Seamless integration with PlatformIO Home (UI) with board and library managers * Intuitive project wizard and a wide range of example projects * Built-in Terminal with PlatformIO Core (CLI) and powerful Serial Port Monitor ---- | Features | | | --------------------- | --------------------- | | 1. code editor | 6. uploader | | 2. syntax highlighter | 7. library manager | | 3. auto-complete | 8. version control | | 4. debugger | 9. board manager | | 5. compiler | 10. serial monitor | ---- | Features | | | --------------------- | --------------------- | | <font color="#f00">**1. code editor** | <font color="#f00">**6. uplaoder** | | <font color="#f00">**2. syntax highlighter** | <font color="#f00">**7. library manager** | | 3. auto complete | 8. version control | | 4. debugger | <font color="#f00">**9. board manager** | | <font color="#f00">**5. compiler** | <font color="#f00">**10. serial monitor** | --- ## Arduino IDE vs PlatformIO - cross-platform tool for embedded c++ development - runs as a plugin in vscode and otehr ide - also available as a CLI utility - contains debugger - more capable than Arduino IDE but the steeper learning curve --- ## Platform IO Environment - Runs as VScode plugin - Python 3.5 or higher - Install VScode + PlatformIO plugin --- ## Install Platform IO (1)  ---- ## Install Platform IO (2)  ---- ## Install Platform IO (2)  ---- ## Upload Demo + Debug Demo 1. [How to Debug Arduino Boards using SWD Interface](https://wiki.seeedstudio.com/Software-SWD/) 2. [SEEGER Software Downlaods](https://www.segger.com/downloads/jlink/JLink_Windows.exe) 3. [**Pending**] [ESP32 JTAG除錯環境建立](https://makerpro.cc/2021/04/how-to-install-and-set-up-esp-prog/)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up