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

Aviation core technology sharing | overview of safety characteristics of acm32 MCU

【unity笔记】L4Unity中的基础光照

一个平面设计师的异想世界|ONES 人物

标签与路径

How to prevent the website from being hacked and tampered with

A graphic designer's fantasy world | ones characters

风尚云网学习-input属性总结

Basic software testing Day2 - Case Execution

QT interprocess communication

Zigbee之CC2530最小系统及寄存器配置(1)
随机推荐
只是不断地建构平台,不断地收拢流量,并不能够做好产业互联网
Intelligent multi line elastic cloud adds independent IP address. How to realize multi line function?
BUUCTF WEB [BJDCTF2020]The mystery of ip
Plato farm - a game of farm metauniverse with Plato as the goal
AI 视频云 VS 窄带高清,谁是视频时代的宠儿
Xinwangda announced that the price of battery products had been increased, and the investment of "weixiaoli" exceeded 1 billion
Lesson 23 temporary objects
Please help me see what this is, mysql5 5. Thanks
Worder font page font comparison table
QT draw text
Jiachen chapter Genesis "inner universe" joint Edition
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Resolve disagrees about version of symbol device_ create
异步时钟亚稳态 的解决方案——多bit信号
Markdown grammar learning
Pagoda panel command line help tutorial (including resetting password)
SynchronousQueue 源码解析
标签与路径
Unlock openharmony technology day! The annual event is about to open!
智能多线弹性云增加独立的IP地址,如何实现多线功能?