> For the complete documentation index, see [llms.txt](https://ykkim.gitbook.io/ec/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ykkim.gitbook.io/ec/other-programming/cube-mx.md).

# Cube-MX

## Installation

[Download Cube-mx](https://www.st.com/en/development-tools/stm32cubemx.html#overview\&secondary=st-get-software)

[User Manual for Cube-MX](https://www.st.com/resource/en/user_manual/dm00104712-stm32cubemx-for-stm32-configuration-and-initialization-c-code-generation-stmicroelectronics.pdf)

## Using CubeMX with uVision

This section explains explains how to setup the tools necessary to create a project for an STM32 microcontroller with Arm Keil MDK. The project is tightly integrated with STM32CubeMX, a graphical tool that configures initialization code for peripherals and system clock setup.

To install STM32CubeMX on your computer:

1. **Download** [**STM32CubeMX**](https://www.st.com/en/development-tools/stm32cubemx.html).
2. **Install STM32CubeMX** and start the utility.
3. Use **Help - Install New Libraries** to add a **Firmware Package** for the relevant STM32 device series.

Continue to read on how to use STM32CubeMX together with MDK:

* [Use STM32CubeMX in MDK Projects](https://www.keil.com/pack/doc/STM32Cube/html/cubemx_using.html)
