Step‑by‑step guide for creating Keil MDK‑ARM project templates for STM32F10x microcontrollers.
This guide introduces the STM32 firmware library, its download sources, directory layout, and the essential files required for a Keil MDK‑ARM project template. It explains how to obtain the STM32F10x standard peripheral library (version 3.5) from the STMicroelectronics website and describes the library’s folder structure, including CMSIS, driver sources, and example projects.
The document then details the Keil MDK‑ARM environment (version 4.74), showing how to set up a new project, configure simulation debugging, and use the Logic Analyzer to monitor signals such as PC0. It provides practical instructions for creating, compiling, and testing a template that can be reused across STM32F10x projects. This manual is written in Chinese.
| Keil MDK‑ARM version used | 4.74 |
|---|
It can be downloaded from the STMicroelectronics website at www.st.com by searching for "stm32f10x".
Keil MDK‑ARM project files use the ".uvproj" (or ".uvprojx") extension.
The guide references Keil MDK‑ARM version 4.74.