一、安裝Stm32 Arduino支持
- 在arduino中添加stm32的開發板地址:https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
- 安裝stm32開發板支持
二、安裝STM32CubeProgrammer
- 從stm32網站中安裝:https://www.st.com/en/development-tools/stm32cubeprog.html,并記住路徑
- 根據Arduino提示添加環境變量
三、燒錄設置
- 選擇燒錄方式為J-link,也可根據自己需求選擇其他方式。
四、燒錄測試
- 編譯燒錄結果如下: