当前位置:网站首页>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
边栏推荐
猜你喜欢

CVPR19-Deep Stacked Hierarchical Multi-patch Network for Image Deblurring论文复现

MySQL优化
![[learning notes] numerical differentiation of back error propagation](/img/1c/e28e31d7cc5ccc38607c7839ccc5f0.png)
[learning notes] numerical differentiation of back error propagation

OpenCV 6.4 中值滤波器的使用

It's great to save 10000 pictures of girls

The internal network of the server can be accessed, but the external network cannot be accessed

Use Matplotlib to draw a preliminary chart

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

Data reverse attack under federated learning -- gradinversion

Where do you find the materials for those articles that have read 10000?
随机推荐
C language implements XML generation and parsing library (XML extension)
Find and rfind methods in string
浅谈深度学习中的对抗样本及其生成方法
SQL operation database syntax
Li Kou daily one question brushing summary: binary tree chapter (continuous update)
我的vim配置文件
Income in the first month of naked resignation
MySQL optimization
Dynamic extensible representation for category incremental learning -- der
Eklavya -- infer the parameters of functions in binary files using neural network
Global and Chinese market of snow sweepers 2022-2028: Research Report on technology, participants, trends, market size and share
業務架構圖
简易打包工具的安装与使用
Sqlyog remote connection to MySQL database under centos7 system
Constant pointer and pointer constant
Open3d learning note 4 [surface reconstruction]
Get the width and height of the screen in real time (adaptive)
VS Code配置问题
最长等比子序列
深入理解JVM