当前位置:网站首页>STM32 project transplantation: transplantation between chip projects of different models: Ze to C8
STM32 project transplantation: transplantation between chip projects of different models: Ze to C8
2022-04-23 12:38:00 【Guistar~~】
The applicable development mode is :MDK+ Firmware library
Startup files corresponding to different chips
FLASH size | The corresponding suffix |
---|---|
Less than 64K | ld.s |
=64 or 128 | md.s |
hd | hd.s |
stay ST The given firmware library can be found , I will also post at the end of the article
other ( I didn't use it ):
cl: Connected products ,stm32f105/107 series
vl: Super value products ,stm32f100 series
xl: Ultra high density products ,stm32f101/103 series
Different models correspond to FLASH size
6 | 32K byte |
---|---|
8 | 8=64K byte |
10 | 128K byte |
B | 256K byte |
E | 512K byte |
G | 1024K byte |
1. Change startup file
Find the startup file you want to migrate , Change to corresponding !!
For example, mine should :hd.s --> md.s
2.MDK Open the configuration item
-
Open the project file , Change model , from ZE Change it to C8, determine
-
Change the startup file in the project :
Add the boot file you just replaced : Remove the original .
I changed it here
-
Change definition
For example, this is HD Change it to MD
USE_STDPERIPH_DRIVER,STM32F10X_HD
// Above is the previous
USE_STDPERIPH_DRIVER,STM32F10X_MD
3.OK Yeah. !! Run it , If not, reopen MDK
版权声明
本文为[Guistar~~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231221329740.html
边栏推荐
- Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
- MySQL function - recursive function
- Qt重绘事件与剪切
- 使用Source Insight查看编辑源代码
- 标签与路径
- Stacks and queues a
- Kubernetes 入門教程
- box-sizing
- 解决disagrees about version of symbol device_create
- 一个平面设计师的异想世界|ONES 人物
猜你喜欢
Try the server for one month for free, and attach the tutorial
网站首页文件被攻击篡改的形式有哪些
【每日一题】棋盘问题
QT interprocess communication
【Redis 系列】redis 学习十三,Redis 常问简单面试题
Kubernetes 入门教程
Qt一个进程运行另一个进程
Labels and paths
worder字体网页字体对照表
Debug Jest test cases in VSCode, debug Jest test cases in VSCode, middle note basedir=$(dirname "$" (echo "$0" sed -e -e, s, \ \, / "-e").
随机推荐
[wechat applet] Z-index is invalid
S2-062 remote command execution vulnerability recurrence (cve-2021-31805)
【csnote】ER图
uni-app 原生APP-本地打包集成极光推送(JG-JPUSH)详细教程
QT one process runs another
关于使用Go语言创建WebSocket服务浅谈
CGC: contractual graph clustering for community detection and tracking
Pagoda panel command line help tutorial (including resetting password)
Uni app native app cloud packaging integrated Aurora push (jg-jpush) detailed tutorial
Introduction to kubernetes
mysql中 innoDB执行过程分析
IDEA设置版权信息
航芯技术分享 | ACM32 MCU安全特性概述
异步时钟亚稳态 的解决方案——多bit信号
Lesson 24 analysis of classical problems
Buuctf Web [bjdctf2020] zjctf, but so
Zigbee之CC2530最小系统及寄存器配置(1)
Please help me see what this is, mysql5 5. Thanks
万事有你 未来可期 | ONES 2022校园招聘正式开启
Source code analysis of synchronousqueue