本文为大家汇总 STM32 常用的一些开发工具。
IDE(集成开发环境)
IDE:IntegratedDevelopmentEnvironment,集成开发环境。
IDE通常包含编辑器、编译器、调试器、图形用户界面等集成多种工具的应用程序(也就是大家写代码的上位机软件)。
通用IDE
1.Keil MDK
网址:https://www.keil.com/
2.IAR EWARM
网址:https://www.iar.com/
3.Embedded Studio
网址:https://www.segger.com/products/development-tools/embedded-studio/
专用IDE
1.STM32CubeIDE
网址:https://www.st.com/en/development-tools/stm32cubeide.html
ST官方推出的集成开发环境,集成了 TrueSTUDIO + STM32CubeMX两个工具。
2.RT-Thread Studio
网址:https://www.rt-thread.org/page/studio.html
该IDE支持大部分STM32,集成了RT-Thread实时操作系统。
搭建IDE
自己搭建开发环境,首先你要明白开发环境中包含哪些内容(编辑器、编译器、链接器等),然后自己用几个工具集成在一起。
下面推荐几个常见的搭建环境的工具:
Eclipsehttps://www.eclipse.org/
VS Codehttps://code.visualstudio.com/
下载编程工具
针对STM32的下载编程工具很多,有官方的工具,也有第三方的工具,同时有硬件工具,也有软件工具。
硬件:下载器
能对STM32下载程序的下载器,还是主推官方的ST-Link,目前有最新的第三代 ST-Link V3了,下载速度提升了很多。
其次,就是通用的J-Link、ULink,这款下载器能支持很多MCU的下载,缺点就是价格贵。
再次,就是一些第三方的CMSIS-DAP Debugger。
软件:编程工具
这是还是推荐ST官方的一些编程工具:STM32CubeProg、ST-LINK Utility、STVP、STMFlashLoader等。
1.STM32CubeProg
地址:
https://www.st.com/en/development-tools/stm32cubeprog.html
2.ST-LINK Utility
地址:
https://www.st.com/en/development-tools/stsw-link004.html
3.STVP
地址:
https://www.st.com/en/development-tools/stvp-stm32.html
STVP是ST早期的编程工具,支持早期的ST7,以及STM8、STM32芯片。现在都没有更新了,如果是STM32,建议使用最新的STM32CubeProg工具。
4.STMFlashLoader
地址:
https://www.st.com/en/development-tools/flasher-stm32.html
这款工具是使用UART串口进行下载的编程工具。
针对STM32的下载编程工具主要就推荐这些,当然,还有一些第三方的工具,感兴趣的可以自行了解。
其他工具
STM32的生态软件和工具比较多,这里推荐几个。
1.STM Studio
STM Studio是一款调试诊断工具,比如监控变量:
地址:
https://www.st.com/en/development-tools/stm32-software-development-tools.html
2.STM32CubeMonitor
STM32CubeMonitor是前面STM Studio的“升级版”,目前属于STM32Cube生态系统中的一员,支持配置、查看更多信息。
地址:https://www.st.com/en/development-tools/stm32cubemonitor.html
3.STM32Trust
STM32Trust是一套STM32解决方案,包含了各种工具。
网址:https://www.st.com/content/st_com/en/ecosystems/stm32trust.html
4.更多
ST官方罗列一些软件工具,大家感兴趣可以自行了解。
嵌入式软件:
https://www.st.com/en/embedded-software/stm32-embedded-software.html
STM32Cube生态:
https://www.st.com/content/st_com/en/ecosystems/stm32cube-ecosystem.html
由于篇幅有限,先分享这些,后续有机会再次整理分享。
相关文章









