当前位置:网站首页>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
边栏推荐
- Dynamic extensible representation for category incremental learning -- der
- SQL server如何卸载干净
- Erase method in string
- Summary of one question per day: String article (continuously updated)
- Comparison between setTimeout and requestanimationframe (page refresh)
- Common shortcut keys of Jupiter notebook (you can also view it by pressing h in command mode)
- Open3d learning note 5 [rgbd fusion]
- 多站点高可用部署
- 使用Matplotlib绘制图表初步
- OpenCV 6.4 中值滤波器的使用
猜你喜欢

MySQL optimization

浅谈深度学习中的对抗样本及其生成方法

Carla-ue4editor import Roadrunner map file (nanny level tutorial)

Real world anti sample attack against semantic segmentation

W10 is upgraded to W11 system, but the screen is black, but the mouse and desktop shortcuts can be used. How to solve it

I'll show you why you don't need to log in every time you use Taobao, jd.com, etc?

Simply test the two different data transmission methods of content length and chunked
![Open3d learning note 4 [surface reconstruction]](/img/9d/c1c3f2f3d4acd74a2c043571a120b3.png)
Open3d learning note 4 [surface reconstruction]

Fundamentals of music theory (brief introduction)

In the era of short video, how to ensure that works are more popular?
随机推荐
On the back door of deep learning model
Use Matplotlib to draw a preliminary chart
Organigramme des activités
Open3d learning note 5 [rgbd fusion]
Global and Chinese market of recovery equipment 2022-2028: Research Report on technology, participants, trends, market size and share
笔记本电脑卡顿问题原因
力扣每日一题刷题总结:字符串篇(持续更新)
C语言实现XML生成解析库(XML扩展)
Carsim-问题Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?
Programmers can only be 35? The 74 year old programmer in the United States has been programming for 57 years and has not retired
服务器的内网可以访问,外网却不能访问的问题
Specification for package drawing
王-课外单词
The internal network of the server can be accessed, but the external network cannot be accessed
Target detection for long tail distribution -- balanced group softmax
Introduction to parameters of CarSim pavement 3D shape file
AR system summary harvest
St-link connection error invalid ROM table of STM32 difficult and miscellaneous diseases
CarSim problem failed to start solver: path_ ID_ OBJ(X) was set to Y; no corresponding value of XXXXX?
OpenCV常用方法出处链接(持续更新)