本文匯總了STM32常用的一些開發工具,希望能對大家有所幫助。
IDE,英文全稱Integrated Development Environment,集成開發環境。IDE通常包含編輯器、編譯器、調試器、圖形用戶界面等集成多種工具的應用程序(也就是大家寫代碼的上位機軟件)。通用IDE


https://www.segger.com/products/development-tools/embedded-studio/專用IDE
https://www.st.com/en/development-tools/stm32cubeide.html
ST官方推出的集成開發環境,集成了TrueSTUDIO+STM32CubeMX 兩個工具。
https://www.rt-thread.org/page/studio.html
該IDE支持大部分STM32,集成了RT-Thread實時操作系統。搭建IDE自己搭建開發環境,首先你要明白開發環境中包含哪些內容(編輯器、編譯器、鏈接器等),然後自己用幾個工具集成在一起。
下面推薦幾個常見的搭建環境的工具:
https://code.visualstudio.com/針對STM32的下載編程工具很多,有官方的工具,也有第三方的工具,同時有硬件工具,也有軟件工具。
硬件:下載器能對STM32下載程序的下載器,還是主推官方的ST-Link,目前有最新的第三代ST-LinkV3了,下載速度提升了很多。
其次,就是通用的J-Link、ULink,這款下載器能支持很多MCU的下載,缺點就是價格貴。
再次,就是一些第三方的CMSIS-DAP Debugger。軟件:編程工具這裡還是推薦ST官方的一些編程工具:STM32CubeProg、ST-LINK Utility、STVP、STMFlashLoader等。
https://www.st.com/en/development-tools/stm32cubeprog.html
地址:
https://www.st.com/en/development-tools/stsw-link004.html
地址:
https://www.st.com/en/development-tools/stvp-stm32.html
STVP是ST早期的編程工具,支持早期的ST7,以及STM8、STM32芯片。現在都沒有更新了,如果是STM32的話,建議使用最新的STM32CubeProg工具。
地址:
https://www.st.com/en/development-tools/flasher-stm32.html
針對STM32的下載編程工具主要就推薦這些,當然,還有一些第三方的工具,感興趣的可以自行了解。STM32的生態軟件和工具比較多,這裡推薦幾個。
1.STM Studio
STM Studio是一款調試診斷工具,比如監控變量:

地址:
https://www.st.com/en/development-tools/stm32-software-development-tools.htmlSTM32CubeMonitor是前面STM Studio的「升級版」,目前屬於STM32Cube生態系統中的一員,支持配置、查看更多信息。https://www.st.com/en/development-tools/stm32cubemonitor.htmlSTM32Trust是一套STM32解決方案,包含了各種工具。https://www.st.com/content/st_com/en/ecosystems/stm32trust.htmlST官方羅列一些軟件工具,大家感興趣可以自行了解。https://www.st.com/en/embedded-software/stm32-embedded-software.html
https://www.st.com/content/st_com/en/ecosystems/stm32cube-ecosystem.html

由於篇幅有限,先分享這些,後續有機會再次整理分享。