当前位置:网站首页>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
边栏推荐
- 静态库和动态库
- Data reverse attack under federated learning -- gradinversion
- CVPR19-Deep Stacked Hierarchical Multi-patch Network for Image Deblurring论文复现
- Organigramme des activités
- One of the reasons for WCF update service reference error
- Constant pointer and pointer constant
- 稀疏矩阵存储
- OpenCV3 6.2 低通滤波器的使用
- Use C language to receive JSON strings
- w10升级至W11系统,黑屏但鼠标与桌面快捷方式能用,如何解决
猜你喜欢

OpenCV 6.4 中值滤波器的使用

Chinese garbled code under vscade

Sequence problem for tqdm and print
![[learning notes] matlab self compiled image convolution function](/img/82/43fc8b2546867d89fe2d67881285e9.png)
[learning notes] matlab self compiled image convolution function

Matlab mathematical modeling tool

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

Using transformer for object detection and semantic segmentation

w10升级至W11系统,黑屏但鼠标与桌面快捷方式能用,如何解决

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

On the confrontation samples and their generation methods in deep learning
随机推荐
Matlab数学建模工具
OpenCV常用方法出处链接(持续更新)
用C# 语言实现MYSQL 真分页
install.img制作方式
Data reverse attack under federated learning -- gradinversion
SQL operation database syntax
Summary of one question per day: stack and queue (continuously updated)
力扣每日一题刷题总结:链表篇(持续更新)
Open3d learning notes II [file reading and writing]
Eklavya -- infer the parameters of functions in binary files using neural network
Installation and use of simple packaging tools
Li Kou daily one question brushing summary: binary tree chapter (continuous update)
Global and Chinese markets for magnetic resonance imaging (MRI) transmission 2022-2028: Research Report on technology, participants, trends, market size and share
How to back up the configuration before the idea when reinstalling the idea
OpenCV3 6.3 用滤波器进行缩减像素采样
CarSim problem failed to start solver: path_ ID_ OBJ(X) was set to Y; no corresponding value of XXXXX?
C language implements XML generation and parsing library (XML extension)
Longest isometric subsequence
Find and rfind methods in string
Cvpr19 deep stacked hierarchical multi patch network for image deblurring paper reproduction