当前位置:网站首页>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
边栏推荐
- Force deduction method summary: double pointer
- In the era of short video, how to ensure that works are more popular?
- 力扣每日一题刷题总结:栈与队列篇(持续更新)
- Carsim 学习心得-粗略翻译1
- Opencv3 6.3 reduced pixel sampling with filters
- 服务器的内网可以访问,外网却不能访问的问题
- Use C language to receive JSON strings
- Summary of one question per day: String article (continuously updated)
- C language implements XML generation and parsing library (XML extension)
- Specification for package drawing
猜你喜欢
Several methods of image enhancement and matlab code
Opencv3 6.3 reduced pixel sampling with filters
Use C language to receive JSON strings
静态库和动态库
C语言实现XML生成解析库(XML扩展)
Open3d learning notes 1 [first glimpse, file reading]
Target detection for long tail distribution -- balanced group softmax
Real world anti sample attack against semantic segmentation
Carsim-实时仿真的动画同步问题
Command line is too long
随机推荐
图像增强的几个方法以及Matlab代码
install. IMG production method
SQL operation database syntax
Use of opencv3 6.2 low pass filter
Chinese garbled code under vscade
Library function of C language
Carla-ue4editor import Roadrunner map file (nanny level tutorial)
Force deduction method summary: double pointer
Sequence problem for tqdm and print
Jetson nano installation tensorflow stepping pit record (scipy1.4.1)
Where do you find the materials for those articles that have read 10000?
Global and Chinese market of snow sweepers 2022-2028: Research Report on technology, participants, trends, market size and share
Matlab数学建模工具
MySQL优化
力扣方法总结:滑动窗口
How gensim freezes some word vectors for incremental training
My VIM profile
How to wrap qstring strings
OpenCV常用方法出处链接(持续更新)
力扣方法总结:双指针