中文 | English
A Project Template for MM32 Series
Recently, I've been using MM32 chips and found the chip packages and projects on the official MM32 website to be overly redundant and complex.
I hope to have a more flexible and generic template available on GitHub (I searched but found no good template).
For more detailed examples, datasheets, etc., please refer to the official MM32 website.
First, find the chip model you need in the MM32_KEIL_Pack_2.22
folder and double-click to install it (otherwise, Keil might report an error due to missing chip packages).
Note: Here, I only uploaded a project specific to MM32F0141C6P, but the F0141 series should work as well. You can change the model in the settings.
Select the different chip corresponding to your model and open the project.
Directly copy the entire project folder, such as MM32F0140, to your desired location. You can rename it as you wish (or just keep it as project).
The project directory structure is as follows:
Application/
main.c
(main function)
Drivers
(folder for hardware-related code)HAL_Lib/
(official HAL library)Inc
(header files)Src
(source files)
MDK-ARM
(Keil project folder)STARTUP
(startup files)
We warmly welcome friends who use the MM32 series to help update this project so that more models can use this template.
Refer to the format of the MM32F0140
folder. You can name the folders according to the chip model.
You can see that there are many different chip models that can be added.
First, you need to fork this project, then add your chip model folder in your project, and submit a PR.
Please provide a screenshot of the Build Output when submitting the PR, so everyone can confirm that your project can compile and program correctly.
Please add directly to the /imgs path and name it after the chip model (if you know Markdown, you can directly add it to this file as well).
Note: When adding images, please include the path from the root directory MM32_Template (you can hide your path but at least include the path starting from MM32_Template).