STM32Cube STM32Cube是一组可免费获取的工具和嵌入式软件模块,可在STM32平台上实现快速、简单的开发,从而简化并加快了开发人员的工作。
还包含有大量的代码应用示例,使开发者更容易上手。
STM32Cube由以下可以一起使用,也可以单独使用的组件组成:
- STM32CubeMX图形用户界面和初始化代码生成器用于:
- 提供图形化向导来生成初始化C代码,并包含一个实用多功能工具以帮助开发人员进行引脚复用、时钟树设置、外设配置和中间件调配。
- 为一系列集成开发环境工具链生成适配IDE的项目
- 为用户定义的应用序列计算功耗
- 从st.com直接导入STM32Cube嵌入式软件库
- 借助集成的更新器,令STM32CubeMX软件始终保持最新
- 每个面向STM32 MCU和MPU系列的STM32Cube MCU和MPU组合工具套装包括:
- 硬件抽象层(HAL)使得不同的STM32器件可通过标准API调用进行互相移植
- 底层(LL)API作为精简的、优化的、面向专家的API,专为性能和运行效率设计
- 一系列中间件组件,包括RTOS、USB库、文件系统、TCP/IP栈、触摸感应库或图形库(取决于STM32的系列)
- 基于HAL驱动程序的BSP驱动程序仅面向STM32 MPU,并为评估板和第三方组件提供API集。

精选 视频
Follow issues and share solutions on Github for STM32Cube MCU packages. Integrate your own software components in a STM32Cube Expansion for STM32CubeMX and STM32CubeIDE tools, thanks to the new STM32PackCreator utility
STM32CubeMX is part of the STM32Cube initiative designed to simplify and accelerate the development of applications for STM32 microcontrollers. STM32CubeMX offers the possibility to generate C projects using embedded software offers packages like CMSIS-Pack compliant software packs. Starting with the 6.0.0 revision, STM32CubeMX is delivered with STM32PackCreator, an STM32 pack creation graphical companion tool, whose main purpose is the creation of software packs.
MadeForSTM32™ is a new quality label delivered by ST, which is granted after an evaluation process. It helps engineers identify third party solutions with the highest level of integration and quality for the STM32 microcontrollers' ecosystem. MadeForSTM32™ is offered to members of the ST Partner Program who want to go one step further in our collaboration, with the overall objective of contributing to a high-quality STM32 ecosystem.
-
STM32CubeWL
STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards)
-
STM32CubeF2
STM32Cube MCU Package for STM32F2 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)
-
STM32CubeH7
STM32Cube MCU Package for STM32H7 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)
-
STM32CubeMP1
STM32CubeMP1 Package for STM32MP1 series (HAL, Low-Layer APIs and CMSIS, OpenAMP for Inter processor communication, and examples running on ST boards)
-
STM32CubeF0
STM32Cube MCU Package for STM32F0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)
-
STM32CubeF3
STM32Cube MCU Package for STM32F3 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards)
-
STM32CubeG4
STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Graphic - and examples running on ST boards)
-
STM32CubeL4
STM32Cube MCU Package for STM32L4 series and STM32L4 Plus series (HAL, Low-Layer APIs and CMSIS, USB, TouchSensing, File system, RTOS, Graphic - and examples running on ST boards)
-
STM32CubeF7
STM32Cube MCU Package for STM32F7 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)
-
STM32CubeWB
STM32Cube MCU Package for STM32WB series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, BLE, Thread and Zigbee stacks - and examples running on ST boards)
-
STM32CubeL5
STM32Cube MCU Package for STM32L5 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, TF-M - coming with examples running on ST boards)
-
STM32CubeG0
STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS, USB PD, File system, RTOS - and examples running on ST boards)
-
STM32CubeL0
STM32Cube MCU Package for STM32L0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards)
-
STM32CubeF1
STM32Cube MCU Package for STM32F1 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)
-
STM32CubeL1
STM32Cube MCU Package for STM32L1 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards)
-
STM32CubeF4
STM32Cube MCU Package for STM32F4 series (HAL, Low-Layer APIs and CMSIS, USB, TCP/IP, File system, RTOS, Graphic - and examples running on ST boards)