当前位置:网站首页>STM32-新建工程(参考正点原子)
STM32-新建工程(参考正点原子)
2022-07-02 06:28:00 【江藤霞】
好久都没玩过32了,新建工程总是忘,写个博客记录一下
注意:本文以F103ZET6为例,文章最后有相关资料哦!
先安装pack包,最后有链接
拿到pack包直接双击安装。
新建工程目录
注:以新建28BYJ-48_demo工程为例
1、新建工程文件夹
新建E:\MyDocument\MyAllCode\STM32Project\28BYJ-48_demo目录为项目的根目录。
2、建立项目结构
在根目录下分别新建以下目录
3、放置必要文件
CORE/目录:
core_cm3.c
core_cm3.h
startup_stm32f10x_hd.s
USER/目录:
main.c
stm32f10x.h
stm32f10x_conf.h
stm32f10x_it.c
stm32f10x_it.h
system_stm32f10x.c
system_stm32f10x.h
FWLIB/inc/目录:
FWLIB/src/目录:
新建工程
1、在keil5上新建工程

2、管理项目组文件

将上面三个目录里的.c文件都添加进去
3、编译配置
激活生成hex文件选项

添加宏定义、头文件路径
STM32F10X_HD,USE_STDPERIPH_DRIVER
项目参考模板+pack包
链接:https://pan.baidu.com/s/1B88CixR8D_jt11fU90bVTQ
提取码:w4g5
边栏推荐
- Carsim-問題Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?
- STL quick reference manual
- OpenCV关于x,y坐标容易混淆的心得
- Causes of laptop jam
- Get the width and height of the screen in real time (adaptive)
- Global and Chinese markets for magnetic resonance imaging (MRI) transmission 2022-2028: Research Report on technology, participants, trends, market size and share
- Go functions make, slice, append
- Programmers can only be 35? The 74 year old programmer in the United States has been programming for 57 years and has not retired
- SQL server如何卸载干净
- Comparison between setTimeout and requestanimationframe (page refresh)
猜你喜欢

Specification for package drawing

Jetson nano installation tensorflow stepping pit record (scipy1.4.1)

Chinese garbled code under vscade

A brief analysis of graph pooling
![Open3d learning note 3 [sampling and voxelization]](/img/71/0b2ac5dfd538017de639e5651c7f46.png)
Open3d learning note 3 [sampling and voxelization]

SQLyog远程连接centos7系统下的MySQL数据库

Carsim-问题Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?

Carsim-实时仿真的动画同步问题
![Open3d learning note 4 [surface reconstruction]](/img/9d/c1c3f2f3d4acd74a2c043571a120b3.png)
Open3d learning note 4 [surface reconstruction]

MySQL optimization
随机推荐
Cvpr19 deep stacked hierarchical multi patch network for image deblurring paper reproduction
多站点高可用部署
Embedding malware into neural networks
[learning notes] numerical differentiation of back error propagation
E-R draw clear content
Carla-ue4editor import Roadrunner map file (nanny level tutorial)
Multi site high availability deployment
How to back up the configuration before the idea when reinstalling the idea
力扣每日一题刷题总结:二叉树篇(持续更新)
Jetson nano installation tensorflow stepping pit record (scipy1.4.1)
力扣每日一题刷题总结:字符串篇(持续更新)
Sequence problem for tqdm and print
Carsim-問題Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?
Opencv's experience of confusing X and Y coordinates
Carsim-路面3D形状文件参数介绍
Use C language to receive JSON strings
Force deduction method summary: double pointer
SQL operation database syntax
稀疏矩阵存储
静态库和动态库