当前位置:网站首页>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
边栏推荐
- SQL exercise (I)
- How do programmers finalize nucleic acid statistics with 130 lines of code
- Stacks and queues a
- Pagoda panel command line help tutorial (including resetting password)
- Outsourcing for five years, abandoned
- 【每日一题】棋盘问题
- 洛谷P3236 [HNOI2014]画框 题解
- Introduction to metalama 4 Use fabric to manipulate items or namespaces
- Intelligent multi line elastic cloud adds independent IP address. How to realize multi line function?
- MySQL function - recursive function
猜你喜欢

远程桌面之终端服务器超出了最大允许连接数解决

Dialogue with Bruce, author of PostgreSQL: "changing careers" is to better move forward

Zigbee之CC2530最小系统及寄存器配置(1)

Why is there a wrapper class? By the way, how to convert basic data types, wrapper classes and string classes?

SQL exercise (I)
Xinwangda announced that the price of battery products had been increased, and the investment of "weixiaoli" exceeded 1 billion

Fastjson 2 is coming, the performance continues to improve, and it can fight for another ten years

如何防止网站被黑客入侵篡改

Introduction to kubernetes

c# 设置logo图标和快捷方式的图标
随机推荐
Lesson 25 static member variables of classes
S2-062 remote command execution vulnerability recurrence (cve-2021-31805)
NPDP|产品经理如何做到不会被程序员排斥?
一个平面设计师的异想世界|ONES 人物
QT redraw events and cuts
BUUCTF WEB [BJDCTF2020]ZJCTF,不过如此
SQL exercise (I)
QT interprocess communication
解锁OpenHarmony技术日!年度盛会,即将揭幕!
SSL证书退款说明
How much does software testing help reduce program bugs?
编程辅助工具推荐:图片工具snipaste
网络信息安全之零信任
程序员如何用130行代码敲定核酸统计
硬核解析Promise对象(这七个必会的常用API和七个关键问题你都了解吗?)
Why is there a wrapper class? By the way, how to convert basic data types, wrapper classes and string classes?
宝塔面板命令行帮助教程(包含重置密码)
论文解读(CGC)《CGC: Contrastive Graph Clustering for Community Detection and Tracking》
Kubernets Getting started tutoriel
在 VSCode 中调试 Jest 的测试用例,VSCode调试Jest测试用例报错basedir=$(dirname “$(echo “$0“ | sed -e ‘s,\\,/,g‘)“)解决