当前位置:网站首页>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
边栏推荐
- 常量指针和指针常量
- Replace self attention with MLP
- Matlab-其它
- How to back up the configuration before the idea when reinstalling the idea
- 浅谈深度学习中的对抗样本及其生成方法
- My VIM profile
- Simply test the two different data transmission methods of content length and chunked
- The internal network of the server can be accessed, but the external network cannot be accessed
- 业务架构图
- Sparse matrix storage
猜你喜欢
Programmers can only be 35? The 74 year old programmer in the United States has been programming for 57 years and has not retired
Income in the first month of naked resignation
Open3d learning note 5 [rgbd fusion]
Where do you find the materials for those articles that have read 10000?
How to back up the configuration before the idea when reinstalling the idea
Embedding malware into neural networks
Eklavya -- infer the parameters of functions in binary files using neural network
Array and string processing, common status codes, differences between PHP and JS (JS)
Chinese garbled code under vscade
STM32疑难杂症之ST-LINK Connection error INVALID ROM TABLE
随机推荐
Cvpr19 deep stacked hierarchical multi patch network for image deblurring paper reproduction
I'll show you why you don't need to log in every time you use Taobao, jd.com, etc?
Fundamentals of music theory (brief introduction)
E-R draw clear content
Installation and use of simple packaging tools
Where do you find the materials for those articles that have read 10000?
Summary of one question per day: linked list (continuously updated)
Vscode下中文乱码问题
Global and Chinese market of snow sweepers 2022-2028: Research Report on technology, participants, trends, market size and share
A brief analysis of graph pooling
Force deduction method summary: double pointer
Array and string processing, common status codes, differences between PHP and JS (JS)
Open3d learning note 3 [sampling and voxelization]
One of the reasons for WCF update service reference error
图像增强的几个方法以及Matlab代码
常量指针和指针常量
On the back door of deep learning model
Open3d learning note 5 [rgbd fusion]
Open3d learning notes 1 [first glimpse, file reading]
力扣每日一题刷题总结:字符串篇(持续更新)